mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
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:
parent
f54ebab7e4
commit
52f0ab3977
1 changed files with 0 additions and 2 deletions
|
|
@ -1102,8 +1102,6 @@ def editor_modification_state_changed(self, is_modified):
|
|||
self.apply_current_editor_state()
|
||||
if is_modified:
|
||||
self.set_modified()
|
||||
self.global_undo.truncate()
|
||||
self.update_global_history_actions()
|
||||
# }}}
|
||||
|
||||
def apply_current_editor_state(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue