Merge pull request #27557 from Paulb23/deselect_line_edit_clear

Fixed not deselecting when clearing lineedit.
This commit is contained in:
Rémi Verschelde 2019-04-01 17:01:45 +02:00 committed by GitHub
commit 9b691718f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;