1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Allow to undo TextEdit.set_text

This commit is contained in:
Tomasz Chabora
2019-03-09 01:26:49 +01:00
parent 201cb8d7ed
commit 3bc0445e05
3 changed files with 16 additions and 13 deletions

View File

@@ -302,7 +302,6 @@ void ScriptTextEditor::reload_text() {
int v = te->get_v_scroll();
te->set_text(script->get_source_code());
te->clear_undo_history();
te->cursor_set_line(row);
te->cursor_set_column(column);
te->set_h_scroll(h);