Edit book: Auto add a checkpoint when the book is first opened for editing

This commit is contained in:
Kovid Goyal 2014-02-01 08:26:36 +05:30
parent d4f0624974
commit cc731ecd46

View File

@ -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()