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:
2dc158f
)
* Fixed crash when clearing search box.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Thu, 24 Jun 2021 20:48:40 +0000
(22:48 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Thu, 24 Jun 2021 20:48:40 +0000
(22:48 +0200)
jiten-pai.py
patch
|
blob
|
history
diff --git
a/jiten-pai.py
b/jiten-pai.py
index 0f6957a494766f01d689d61ca711e9f88b35fc53..ab0930bd2efb3c8ea2b7b598ac2487ce913e479d 100755
(executable)
--- a/
jiten-pai.py
+++ b/
jiten-pai.py
@@
-1221,7
+1221,7
@@
class jpMainWindow(QMainWindow):
def search_clear(self):
self.search_box.setFocus()
self.search_box.setCurrentIndex(-1)
- self.search_box.clear
Current
Text()
+ self.search_box.clearText()
TERM_END = r'(\(.+?\))?(;|$)'
def _search_apply_options(self, term, mode):