From ae0e05182b3eea4271c1127962fff5925e83f545 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 29 Apr 2016 11:12:22 +0200 Subject: [PATCH] First start actions are now added to correct list CURA-1385 --- cura/MachineActionManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/MachineActionManager.py b/cura/MachineActionManager.py index 520fb94d1e..ff57a42803 100644 --- a/cura/MachineActionManager.py +++ b/cura/MachineActionManager.py @@ -43,9 +43,9 @@ class MachineActionManager: def addFirstStartAction(self, machine, action_key, index = None): if action_key in self._machine_actions: if machine in self._supported_actions and index is not None: - self._supported_actions[machine].insert(index, self._machine_actions[action_key]) + self._first_start_actions[machine].insert(index, self._machine_actions[action_key]) else: - self._supported_actions[machine] = [self._machine_actions[action_key]] + self._first_start_actions[machine] = [self._machine_actions[action_key]] else: Logger.log("W", "Unable to add %s to %s, as the action is not recognised", action_key, machine.getKey())