Materials & variants are now correctly checked when active

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-13 12:04:38 +02:00
parent 5dbe0bdc03
commit dd24e488a8
3 changed files with 16 additions and 5 deletions

View file

@ -204,7 +204,7 @@ UM.MainWindow
MenuItem {
text: model.name;
checkable: true;
checked: model.active;
checked: model.id == Cura.MachineManager.activeVariantId;
exclusiveGroup: machineVariantsGroup;
onTriggered: Cura.MachineManager.setActiveVariant(model.id)
}