From cc731ecd4665de779c460ca1d395c17886fa0b2b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 1 Feb 2014 08:26:36 +0530 Subject: [PATCH] Edit book: Auto add a checkpoint when the book is first opened for editing --- 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 3672647403..435f63aa8d 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -232,6 +232,7 @@ class Boss(QObject): if ef: self.gui.file_list.request_edit(ef) self.gui.toc_view.update_if_visible() + self.add_savepoint(_('Start of editing session')) def update_editors_from_container(self, container=None, names=None): c = container or current_container()