mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user