mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Auto add a checkpoint when the book is first opened for editing
This commit is contained in:
parent
d4f0624974
commit
cc731ecd46
@ -232,6 +232,7 @@ class Boss(QObject):
|
|||||||
if ef:
|
if ef:
|
||||||
self.gui.file_list.request_edit(ef)
|
self.gui.file_list.request_edit(ef)
|
||||||
self.gui.toc_view.update_if_visible()
|
self.gui.toc_view.update_if_visible()
|
||||||
|
self.add_savepoint(_('Start of editing session'))
|
||||||
|
|
||||||
def update_editors_from_container(self, container=None, names=None):
|
def update_editors_from_container(self, container=None, names=None):
|
||||||
c = container or current_container()
|
c = container or current_container()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user