mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0a08539cc0
commit
9ce01d6efc
@ -285,7 +285,7 @@ class Boss(QObject):
|
||||
det_msg=job.traceback, show=True)
|
||||
if cn:
|
||||
self.save_manager.clear_notify_data()
|
||||
self.gui.check_book.clear()
|
||||
self.gui.check_book.clear_at_startup()
|
||||
dictionaries.clear_ignored(), dictionaries.clear_caches()
|
||||
parse_worker.clear()
|
||||
container = job.result
|
||||
|
@ -73,14 +73,17 @@ class Check(QSplitter):
|
||||
h.anchorClicked.connect(self.link_clicked)
|
||||
h.setOpenLinks(False)
|
||||
self.addWidget(h)
|
||||
self.clear_help(_('Check has not been run'))
|
||||
self.setStretchFactor(0, 100)
|
||||
self.setStretchFactor(1, 50)
|
||||
self.clear_at_startup()
|
||||
|
||||
state = tprefs.get('check-book-splitter-state', None)
|
||||
if state is not None:
|
||||
self.restoreState(state)
|
||||
|
||||
def clear_at_startup(self):
|
||||
self.clear_help(_('Check has not been run'))
|
||||
|
||||
def context_menu(self, pos):
|
||||
m = QMenu()
|
||||
if self.items.count() > 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user