Added activeExtruder stack to machineManager model

CURA-340
This commit is contained in:
Jaime van Kessel 2016-06-05 12:01:46 +02:00
parent c79b7bdd7a
commit 1e44abb9be
2 changed files with 27 additions and 5 deletions

View file

@ -108,7 +108,11 @@ Item
exclusiveGroup: extruderMenuGroup;
checkable: true;
checked: base.currentExtruderIndex == index
onClicked: base.currentExtruderIndex = index
onClicked:
{
base.currentExtruderIndex = index
Cura.MachineManager.setActiveExtruderIndex(index)
}
style: ButtonStyle {
background: Rectangle {