From 06ed113dedfb39cecf6f195bc38cbab9bb797189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 12 Aug 2016 01:59:08 +0200 Subject: Fix forgotten key in KeyMachine --- music_sampler/key.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/music_sampler/key.py b/music_sampler/key.py index b73a29c..983c5a6 100644 --- a/music_sampler/key.py +++ b/music_sampler/key.py @@ -149,14 +149,14 @@ class KeyMachine(Widget): self.key.parent.parent.ids['KeyList'].append(self.key.key_sym) debug_print("running actions for {}".format(self.key.key_sym)) start_time = time.time() - self.key.parent.start_running(self, start_time) + self.key.parent.start_running(self.key, start_time) for self.key.current_action in self.key.actions: - if self.key.parent.keep_running(self, start_time): + if self.key.parent.keep_running(self.key, start_time): self.key.list_actions() self.key.current_action.run(start_time) self.key.list_actions(last_action_finished=True) - self.key.parent.finished_running(self, start_time) + self.key.parent.finished_running(self.key, start_time) def on_enter_loaded_protecting_repeat(self, modifiers): if self.key.repeat_delay > 0: -- cgit v1.2.3