From 52f0ab39776f2fd1eb3c1e38dc07eda343645b47 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 2 Feb 2014 14:02:51 +0530 Subject: [PATCH] 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). --- src/calibre/gui2/tweak_book/boss.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index b8fe7bdb1d28..a99761940c2e 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -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):