mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Set machine_extruder_count in sync with defined extruders
The registry checks if they are in sync and complains if they aren't. The extruder count is set back to default to 1 upon adding the machine. Contributes to issue CURA-3497.
This commit is contained in:
parent
41e444714f
commit
b69f337ddb
2 changed files with 11 additions and 0 deletions
|
@ -375,6 +375,10 @@ Cura.MachineAction
|
|||
}
|
||||
}
|
||||
currentIndex: machineExtruderCountProvider.properties.value - 1
|
||||
Component.onCompleted:
|
||||
{
|
||||
manager.setMachineExtruderCount(1);
|
||||
}
|
||||
onActivated:
|
||||
{
|
||||
manager.setMachineExtruderCount(index + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue