summaryrefslogtreecommitdiff
path: root/grc/gui/ActionHandler.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2013-10-26 11:54:11 +0200
committerSebastian Koslowski <koslowski@kit.edu>2013-10-26 11:54:11 +0200
commitd5c7142fd0c4d76f1754fcbaf0a1ac0ae137ac77 (patch)
tree0a4aed4bef438763e7b066edb9cc5ffb90b9671c /grc/gui/ActionHandler.py
parent15244635c42a2272c76d94b6a5d8bfb3e75fca0c (diff)
GRC: fix key event handling while the search box is active
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r--grc/gui/ActionHandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index 29222b515b..87576ccae1 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -83,6 +83,8 @@ class ActionHandler:
Returns:
false to let gtk handle the key action
"""
+ # prevent key event stealing while the search box is active
+ if self.main_window.btwin.search_entry.has_focus(): return False
if not self.get_focus_flag(): return False
return Actions.handle_key_press(event)