Fix running check book with no book opened gives an error message

This commit is contained in:
Kovid Goyal
2013-12-20 18:55:10 +05:30
parent 408a7b5d4f
commit 512d608a95
+2
View File
@@ -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()