mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 21:15:52 +08:00
Set active extruder when switching extruder tabs in Machine Settings
We can only get/set profiles for the active extruder.
This commit is contained in:
parent
af280047d1
commit
818043854d
@ -463,6 +463,14 @@ Cura.MachineAction
|
||||
}
|
||||
}
|
||||
|
||||
onCurrentIndexChanged:
|
||||
{
|
||||
if(currentIndex > 0)
|
||||
{
|
||||
ExtruderManager.setActiveExtruderIndex(currentIndex - 1);
|
||||
}
|
||||
}
|
||||
|
||||
Repeater
|
||||
{
|
||||
model: (machineExtruderCountProvider.properties.value > 1) ? parseInt(machineExtruderCountProvider.properties.value) : 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user