mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: Fix no books found dialog showing too often.
This commit is contained in:
parent
d4de706fc8
commit
70da6dd852
@ -206,7 +206,7 @@ class SearchDialog(QDialog, Ui_Dialog):
|
|||||||
if res:
|
if res:
|
||||||
self.results_view.model().add_result(res, store_plugin)
|
self.results_view.model().add_result(res, store_plugin)
|
||||||
|
|
||||||
if not self.results_view.model().has_results():
|
if not self.search_pool.threads_running() and not self.results_view.model().has_results():
|
||||||
info_dialog(self, _('No matches'), _('Couldn\'t find any books matching your query.'), show=True, show_copy_button=False)
|
info_dialog(self, _('No matches'), _('Couldn\'t find any books matching your query.'), show=True, show_copy_button=False)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user