projects
/
jiten-pai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddfb5c2
)
* Strip search term prior to lookup.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 13 Jun 2021 20:19:01 +0000
(22:19 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Sun, 13 Jun 2021 20:19:01 +0000
(22:19 +0200)
jiten-pai.py
patch
|
blob
|
history
diff --git
a/jiten-pai.py
b/jiten-pai.py
index 30629bb29c73657f21cd8a6e614c2db416dfe0c3..6fde4e9505d9afc18b9a13aa376bd4522b2b3355 100755
(executable)
--- a/
jiten-pai.py
+++ b/
jiten-pai.py
@@
-125,7
+125,7
@@
class jpMainWindow(QMainWindow):
self.setCentralWidget(main_frame)
def search(self):
- term = self.search_box.lineEdit().text()
+ term = self.search_box.lineEdit().text()
.strip()
if len(term) < 1:
return
result = dict_lookup(cfg['dict'], term, cfg['max_res'])