Revert the truncation of the checkpoint list on editor modification since the modified signal is not reliable (it can be triggered bythings that are not changes as well as not triggered for changes if the editor is already in the modified state).

This commit is contained in:
Kovid Goyal 2014-02-02 14:02:51 +05:30
parent f54ebab7e4
commit 52f0ab3977

View File

@ -1102,8 +1102,6 @@ class Boss(QObject):
self.apply_current_editor_state() self.apply_current_editor_state()
if is_modified: if is_modified:
self.set_modified() self.set_modified()
self.global_undo.truncate()
self.update_global_history_actions()
# }}} # }}}
def apply_current_editor_state(self): def apply_current_editor_state(self):