Only show error info on single query; fix #8
This commit is contained in:
parent
f838773a8a
commit
eee7fde2b8
@ -93,6 +93,8 @@ class QueryThread(QThread):
|
|||||||
if self.manager.update(note, results, success_num):
|
if self.manager.update(note, results, success_num):
|
||||||
self.note_flush.emit(note)
|
self.note_flush.emit(note)
|
||||||
except InvalidWordException:
|
except InvalidWordException:
|
||||||
|
# only show error info on single query
|
||||||
|
if self.manager.total == 1:
|
||||||
showInfo(_("NO_QUERY_WORD"))
|
showInfo(_("NO_QUERY_WORD"))
|
||||||
|
|
||||||
if self.manager:
|
if self.manager:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user