TextEdit: remove selection when clear happens.
(cherry picked from commit 594e0261f3
)
This commit is contained in:
parent
94476aba94
commit
b680939036
|
@ -4105,6 +4105,7 @@ void TextEdit::_clear() {
|
||||||
cursor.line_ofs = 0;
|
cursor.line_ofs = 0;
|
||||||
line_scroll_pos = 0;
|
line_scroll_pos = 0;
|
||||||
cursor.last_fit_x = 0;
|
cursor.last_fit_x = 0;
|
||||||
|
selection.active = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextEdit::clear() {
|
void TextEdit::clear() {
|
||||||
|
|
Loading…
Reference in New Issue