From 155c35f765eab46e4d04216d9a4bdf80b6442ef9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 Oct 2015 16:08:33 +0530 Subject: [PATCH] Edit Book: Automatically create a checkpoint before showing the spell check dialog --- src/calibre/gui2/tweak_book/boss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index b336f44369..07140f7c3b 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -1138,6 +1138,7 @@ class Boss(QObject): if current_container() is None: return self.commit_all_editors_to_container() + self.add_savepoint(_('Before: Spell Check')) self.gui.spell_check.show() @in_thread_job