mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
CURA-4400 fix crash when switching from disabled 1st extruder to single extruder machine
This commit is contained in:
parent
a9976e93c1
commit
f576b1f117
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ class MachineManager(QObject):
|
|||
containers = container_registry.findContainerStacks(id = stack_id)
|
||||
if containers:
|
||||
global_stack = containers[0]
|
||||
self._default_extruder_position = "0" # start off with position 0, later on update the default extruder
|
||||
ExtruderManager.getInstance().setActiveExtruderIndex(0) # Switch to first extruder
|
||||
self._global_container_stack = global_stack
|
||||
Application.getInstance().setGlobalContainerStack(global_stack)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue