Fix custom profile menu

CURA-6599
This commit is contained in:
Lipu Fei 2019-09-25 08:28:21 +02:00
parent f2e518da6b
commit f395c92732
2 changed files with 9 additions and 4 deletions

View file

@ -163,7 +163,6 @@ Popup
//Add all the custom profiles.
Repeater
{
visible: false
model: Cura.CustomQualityProfilesDropDownMenuModel
MenuButton
{
@ -172,8 +171,8 @@ Popup
width: parent.width
checkable: true
visible: model.available
text: model.name + " - " + model.layer_height + " mm"
checked: Cura.MachineManager.activeQualityChangesGroup == model.quality_changes_group
text: model.name
checked: Cura.MachineManager.activeQualityChangesGroup.getName() == model.quality_changes_group.getName()
ButtonGroup.group: buttonGroup
}
}