Skip to content

Commit

Permalink
Revert the truncation of the checkpoint list on editor modification s…
Browse files Browse the repository at this point in the history
…ince 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).
  • Loading branch information
kovidgoyal committed Feb 2, 2014
1 parent f54ebab commit 52f0ab3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/calibre/gui2/tweak_book/boss.py
Expand Up @@ -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):
Expand Down

0 comments on commit 52f0ab3

Please sign in to comment.