mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 02:32:33 -04:00
Fix running check book with no book opened gives an error message
This commit is contained in:
@@ -795,6 +795,8 @@ class Boss(QObject):
|
||||
|
||||
@in_thread_job
|
||||
def check_requested(self, *args):
|
||||
if current_container() is None:
|
||||
return
|
||||
self.commit_all_editors_to_container()
|
||||
c = self.gui.check_book
|
||||
c.parent().show()
|
||||
|
||||
Reference in New Issue
Block a user