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

@ -201,7 +201,6 @@ void TextEditor::reload_text() {
int v = te->get_v_scroll();
te->set_text(text_file->get_text());
te->clear_undo_history();
te->cursor_set_line(row);
te->cursor_set_column(column);
te->set_h_scroll(h);