mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: Still open MobileRead dialog even when update cache is canceled. Ensure Cache thread is stopped.
This commit is contained in:
parent
70da6dd852
commit
f4da91d06a
@ -37,7 +37,7 @@ class MobileReadStore(BasicStoreConfig, StorePlugin):
|
|||||||
d.set_tags(self.config.get('tags', ''))
|
d.set_tags(self.config.get('tags', ''))
|
||||||
d.exec_()
|
d.exec_()
|
||||||
else:
|
else:
|
||||||
if self.update_cache(parent, 30):
|
self.update_cache(parent, 30)
|
||||||
d = MobeReadStoreDialog(self, parent)
|
d = MobeReadStoreDialog(self, parent)
|
||||||
d.setWindowTitle(self.name)
|
d.setWindowTitle(self.name)
|
||||||
d.exec_()
|
d.exec_()
|
||||||
|
@ -247,5 +247,6 @@ class SearchDialog(QDialog, Ui_Dialog):
|
|||||||
def dialog_closed(self, result):
|
def dialog_closed(self, result):
|
||||||
self.results_view.model().closing()
|
self.results_view.model().closing()
|
||||||
self.search_pool.abort()
|
self.search_pool.abort()
|
||||||
|
self.cache_pool.abort()
|
||||||
self.save_state()
|
self.save_state()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user