Fixed not deselecting when clearing lineedit.

This commit is contained in:
Paulb23 2019-03-31 16:32:24 +01:00
parent 5b00cd89d3
commit bfba1e36bc
1 changed files with 1 additions and 0 deletions

View File

@ -1223,6 +1223,7 @@ void LineEdit::append_at_cursor(String p_text) {
void LineEdit::clear_internal() {
deselect();
_clear_undo_stack();
cached_width = 0;
cursor_pos = 0;