mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fixed issue with sets not being updated
CURA-1385
This commit is contained in:
parent
b1263e8d33
commit
8cd0933b16
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ class MachineActionManager:
|
|||
def addRequiredAction(self, machine, action_key):
|
||||
if action_key in self._machine_actions:
|
||||
if machine in self._required_actions:
|
||||
self._required_actions[machine].append(self._machine_actions[action_key])
|
||||
self._required_actions[machine] |= {self._machine_actions[action_key]}
|
||||
else:
|
||||
self._required_actions[machine] = {self._machine_actions[action_key]}
|
||||
else:
|
||||
|
|
@ -42,7 +42,7 @@ class MachineActionManager:
|
|||
def addSupportedAction(self, machine, action_key):
|
||||
if action_key in self._machine_actions:
|
||||
if machine in self._supported_actions:
|
||||
self._supported_actions[machine].append(self._machine_actions[action_key])
|
||||
self._supported_actions[machine] |= {self._machine_actions[action_key]}
|
||||
else:
|
||||
self._supported_actions[machine] = {self._machine_actions[action_key]}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue