TextEdit: remove selection when clear happens.

This commit is contained in:
allkhor 2018-11-25 23:24:49 +06:00
parent 8348aca118
commit 594e0261f3
1 changed files with 1 additions and 0 deletions

View File

@ -4264,6 +4264,7 @@ void TextEdit::_clear() {
cursor.line_ofs = 0; cursor.line_ofs = 0;
cursor.wrap_ofs = 0; cursor.wrap_ofs = 0;
cursor.last_fit_x = 0; cursor.last_fit_x = 0;
selection.active = false;
} }
void TextEdit::clear() { void TextEdit::clear() {