First run actions are now properly handled

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-06-22 11:49:35 +02:00
parent 6f6d70ad0f
commit 8cfc0737ac
4 changed files with 43 additions and 5 deletions

View file

@ -89,6 +89,7 @@ class MachineActionManager(QObject):
## Add a (unique) MachineAction
# if the Key of the action is not unique, an exception is raised.
def addMachineAction(self, action):
print("ADDING ACTIOONNN", action)
if action.getKey() not in self._machine_actions:
self._machine_actions[action.getKey()] = action
else: