Code cleanup, more tests

This commit is contained in:
Miguel Jacq 2025-11-11 13:12:30 +11:00
parent 1c0052a0cf
commit bfd0314109
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
16 changed files with 1212 additions and 478 deletions

View file

@ -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)