mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
1 changed files with 8 additions and 0 deletions
|
|
@ -463,6 +463,14 @@ Cura.MachineAction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onCurrentIndexChanged:
|
||||||
|
{
|
||||||
|
if(currentIndex > 0)
|
||||||
|
{
|
||||||
|
ExtruderManager.setActiveExtruderIndex(currentIndex - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Repeater
|
Repeater
|
||||||
{
|
{
|
||||||
model: (machineExtruderCountProvider.properties.value > 1) ? parseInt(machineExtruderCountProvider.properties.value) : 0
|
model: (machineExtruderCountProvider.properties.value > 1) ? parseInt(machineExtruderCountProvider.properties.value) : 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue