aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ActionMap.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/ActionMap.py')
-rw-r--r--lib/python/Components/ActionMap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/ActionMap.py b/lib/python/Components/ActionMap.py
index 2588421c..0ff5098b 100644
--- a/lib/python/Components/ActionMap.py
+++ b/lib/python/Components/ActionMap.py
@@ -20,6 +20,7 @@ class ActionMap:
print " ".join(("action -> ", context, action))
if self.actions.has_key(action):
self.actions[action]()
+ return 1
else:
print "unknown action %s/%s! typo in keymap?" % (context, action)
-
+ return 0