From: Volodymyr Poltavets Date: Tue, 15 Jun 2021 11:07:29 +0000 (+0200) Subject: * Always clear old results X-Git-Tag: v0.1.0~137^2 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=9da5b224420763f8caa199b272d652eaeac7775b;p=jiten-pai.git * Always clear old results --- diff --git a/jiten-pai.py b/jiten-pai.py index fa3a7da..c331833 100755 --- a/jiten-pai.py +++ b/jiten-pai.py @@ -434,6 +434,7 @@ class jpMainWindow(QMainWindow): result = dict_lookup(cfg['dict'], term, mode, max_res) # self.result_group.setTitle('Search results: %d' % len(result)) + self.result_pane.setHtml('') self.result_pane.setEnabled(True); # bail early on empty result if 0 == len(result):