Also update window title when saving book

This commit is contained in:
Kovid Goyal 2020-07-22 17:26:37 +05:30
parent 53cd9b3f42
commit 661eb97d3c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1141,6 +1141,7 @@ class Boss(QObject):
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 @@ class Boss(QObject):
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'), _(