diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 04a7d15d9b..1cb7121f6e 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -667,6 +667,8 @@ class Boss(QObject): self.rewind_savepoint() def manage_fonts(self): + if not self.ensure_book(_('No book is currently open. You must first open a book to manage fonts.')): + return self.commit_all_editors_to_container() self.gui.manage_fonts.display()