Fix quality selection menu to highlight the active entry

Since we changed the "empty_quality_changes" to a proper empty
container.
This commit is contained in:
Arjen Hiemstra 2017-04-06 17:51:38 +02:00
parent df25fa9345
commit e1537d4dea

View file

@ -19,7 +19,7 @@ Menu
{
text: model.name + " - " + model.layer_height
checkable: true
checked: Cura.MachineManager.activeQualityChangesId == "empty_quality_changes" && Cura.MachineManager.activeQualityType == model.metadata.quality_type
checked: Cura.MachineManager.activeQualityChangesId == "" && Cura.MachineManager.activeQualityType == model.metadata.quality_type
exclusiveGroup: group
onTriggered: Cura.MachineManager.setActiveQuality(model.id)
}