Bug fixes
This commit is contained in:
parent
19dc8c91fe
commit
7f678cd31e
@ -65,6 +65,7 @@ class QueryThread(QtCore.QThread):
|
|||||||
self.note_flush.emit(note)
|
self.note_flush.emit(note)
|
||||||
except InvalidWordException:
|
except InvalidWordException:
|
||||||
# only show error info on single query
|
# only show error info on single query
|
||||||
|
self.manager.fails += 1
|
||||||
if self.manager.total == 1:
|
if self.manager.total == 1:
|
||||||
showInfo(_("NO_QUERY_WORD"))
|
showInfo(_("NO_QUERY_WORD"))
|
||||||
|
|
||||||
|
|||||||
@ -66,6 +66,7 @@ class QueryThread(QThread):
|
|||||||
self.note_flush.emit(note)
|
self.note_flush.emit(note)
|
||||||
except InvalidWordException:
|
except InvalidWordException:
|
||||||
# only show error info on single query
|
# only show error info on single query
|
||||||
|
self.manager.fails += 1
|
||||||
if self.manager.total == 1:
|
if self.manager.total == 1:
|
||||||
showInfo(_("NO_QUERY_WORD"))
|
showInfo(_("NO_QUERY_WORD"))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user