Store: Still open MobileRead dialog even when update cache is canceled. Ensure Cache thread is stopped.

This commit is contained in:
John Schember 2011-04-24 07:33:28 -04:00
parent 70da6dd852
commit f4da91d06a
2 changed files with 5 additions and 4 deletions

View File

@ -37,7 +37,7 @@ class MobileReadStore(BasicStoreConfig, StorePlugin):
d.set_tags(self.config.get('tags', ''))
d.exec_()
else:
if self.update_cache(parent, 30):
self.update_cache(parent, 30)
d = MobeReadStoreDialog(self, parent)
d.setWindowTitle(self.name)
d.exec_()

View File

@ -247,5 +247,6 @@ class SearchDialog(QDialog, Ui_Dialog):
def dialog_closed(self, result):
self.results_view.model().closing()
self.search_pool.abort()
self.cache_pool.abort()
self.save_state()