mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also update window title when saving book
This commit is contained in:
parent
53cd9b3f42
commit
661eb97d3c
@ -1141,6 +1141,7 @@ class Boss(QObject):
|
|||||||
|
|
||||||
def save_book(self):
|
def save_book(self):
|
||||||
' Save the book. Saving is performed in the background '
|
' Save the book. Saving is performed in the background '
|
||||||
|
self.gui.update_window_title()
|
||||||
c = current_container()
|
c = current_container()
|
||||||
for name, ed in iteritems(editors):
|
for name, ed in iteritems(editors):
|
||||||
if ed.is_modified or not ed.is_synced_to_container:
|
if ed.is_modified or not ed.is_synced_to_container:
|
||||||
@ -1171,6 +1172,7 @@ class Boss(QObject):
|
|||||||
self.save_manager.schedule(tdir, container)
|
self.save_manager.schedule(tdir, container)
|
||||||
|
|
||||||
def save_copy(self):
|
def save_copy(self):
|
||||||
|
self.gui.update_window_title()
|
||||||
c = current_container()
|
c = current_container()
|
||||||
if c.is_dir:
|
if c.is_dir:
|
||||||
return error_dialog(self.gui, _('Cannot save a copy'), _(
|
return error_dialog(self.gui, _('Cannot save a copy'), _(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user