Place caret at 0,0 when setting text not at the end

This commit is contained in:
Paulb23 2019-10-13 15:29:20 +01:00
parent 3bf3a0abaa
commit aea0761b25

View file

@ -4751,6 +4751,9 @@ void TextEdit::set_text(String p_text) {
selection.active = false;
}
cursor_set_line(0);
cursor_set_column(0);
update();
setting_text = false;
};