summaryrefslogtreecommitdiff
path: root/grc/gui/ActionHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r--grc/gui/ActionHandler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index 59e535bd4..361be1cf8 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -81,9 +81,7 @@ class ActionHandler:
"""
try: assert self.get_focus_flag()
except AssertionError: return False
- try: Actions.get_action_from_key_press(event)()
- except KeyError: return False
- return True #handled by this method
+ return Actions.handle_key_press(event)
def _quit(self, window, event):
"""