mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
When removing a machine's extruders, also clean up _extruder_trains
CURA-3756
This commit is contained in:
parent
3b3d9c4dae
commit
386e5db489
1 changed files with 1 additions and 0 deletions
|
@ -463,6 +463,7 @@ class ExtruderManager(QObject):
|
|||
for extruder in self.getMachineExtruders(machine_id):
|
||||
ContainerRegistry.getInstance().removeContainer(extruder.userChanges.getId())
|
||||
ContainerRegistry.getInstance().removeContainer(extruder.getId())
|
||||
del self._extruder_trains[machine_id]
|
||||
|
||||
## Returns extruders for a specific machine.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue