mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 05:16:11 +01:00
Also update window title when saving book
This commit is contained in:
parent
53cd9b3f42
commit
661eb97d3c
1 changed files with 2 additions and 0 deletions
|
|
@ -1141,6 +1141,7 @@ def commit_all_editors_to_container(self):
|
|||
|
||||
def save_book(self):
|
||||
' Save the book. Saving is performed in the background '
|
||||
self.gui.update_window_title()
|
||||
c = current_container()
|
||||
for name, ed in iteritems(editors):
|
||||
if ed.is_modified or not ed.is_synced_to_container:
|
||||
|
|
@ -1171,6 +1172,7 @@ def save_book(self):
|
|||
self.save_manager.schedule(tdir, container)
|
||||
|
||||
def save_copy(self):
|
||||
self.gui.update_window_title()
|
||||
c = current_container()
|
||||
if c.is_dir:
|
||||
return error_dialog(self.gui, _('Cannot save a copy'), _(
|
||||
|
|
|
|||
Loading…
Reference in a new issue