TextEdit: remove selection when clear happens.

(cherry picked from commit 594e0261f3)
This commit is contained in:
allkhor 2018-11-25 23:24:49 +06:00 committed by Rémi Verschelde
parent 94476aba94
commit b680939036
1 changed files with 1 additions and 0 deletions

View File

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