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:
fieldOfView 2017-04-06 11:44:09 +02:00
parent af280047d1
commit 818043854d

View File

@ -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