Code cleanup, more tests
This commit is contained in:
parent
1c0052a0cf
commit
bfd0314109
16 changed files with 1212 additions and 478 deletions
|
|
@ -66,10 +66,7 @@ class Search(QWidget):
|
|||
self.resultDatesChanged.emit([]) # clear highlights
|
||||
return
|
||||
|
||||
try:
|
||||
rows: Iterable[Row] = self._db.search_entries(q)
|
||||
except Exception:
|
||||
rows = []
|
||||
rows: Iterable[Row] = self._db.search_entries(q)
|
||||
|
||||
self._populate_results(q, rows)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue