aboutsummaryrefslogtreecommitdiff
path: root/helpers/key.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/key.py')
-rw-r--r--helpers/key.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/key.py b/helpers/key.py
index 658c17f..f49b3ec 100644
--- a/helpers/key.py
+++ b/helpers/key.py
@@ -80,6 +80,9 @@ class Key(ButtonBehavior, Widget):
80 self.actions.append(Action(action_name, self, **arguments)) 80 self.actions.append(Action(action_name, self, **arguments))
81 81
82 def do_actions(self): 82 def do_actions(self):
83 if not self.enabled:
84 return None
85
83 print("running actions for {}".format(self.key_sym)) 86 print("running actions for {}".format(self.key_sym))
84 start_time = time.time() 87 start_time = time.time()
85 self.parent.start_running(self, start_time) 88 self.parent.start_running(self, start_time)