projects
/
gonvert
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6e2aa6
)
FIxing some issues with quick jump
author
Ed Page
<eopage@byu.net>
Wed, 2 Jun 2010 12:42:02 +0000
(07:42 -0500)
committer
Ed Page
<eopage@byu.net>
Wed, 2 Jun 2010 12:42:02 +0000
(07:42 -0500)
src/gonvert_qt.py
patch
|
blob
|
history
diff --git
a/src/gonvert_qt.py
b/src/gonvert_qt.py
index
f416cab
..
51d2c36
100755
(executable)
--- a/
src/gonvert_qt.py
+++ b/
src/gonvert_qt.py
@@
-216,6
+216,7
@@
class QuickJump(object):
catWindow = self._app.request_category()
unitsWindow = catWindow.selectCategory(categoryName)
unitsWindow.select_unit(unitName)
catWindow = self._app.request_category()
unitsWindow = catWindow.selectCategory(categoryName)
unitsWindow.select_unit(unitName)
+ self.close()
@misc_utils.log_exception(_moduleLogger)
def _on_search_edited(self, *args):
@misc_utils.log_exception(_moduleLogger)
def _on_search_edited(self, *args):
@@
-223,6
+224,7
@@
class QuickJump(object):
if len(userInput) < self.MINIMAL_ENTRY:
return
if len(userInput) < self.MINIMAL_ENTRY:
return
+ self._resultsBox.clear()
lowerInput = str(userInput).lower()
for catIndex, category in enumerate(unit_data.UNIT_CATEGORIES):
units = unit_data.get_units(category)
lowerInput = str(userInput).lower()
for catIndex, category in enumerate(unit_data.UNIT_CATEGORIES):
units = unit_data.get_units(category)