Display layer height after profile name in drop-down

There is no styling in this drop-down, as it is provided by the OS. Just a dash and the layer height will do.

Contributes to issue CURA-2737.
This commit is contained in:
Ghostkeeper 2016-10-21 14:00:43 +02:00
parent c92ccee1e4
commit 19678c1126
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -17,7 +17,7 @@ Menu
MenuItem
{
text: model.name
text: model.name + " - " + model.layer_height
checkable: true
checked: Cura.MachineManager.activeQualityChangesId == "empty_quality_changes" && Cura.MachineManager.activeQualityType == model.metadata.quality_type
exclusiveGroup: group
@ -40,7 +40,7 @@ Menu
MenuItem
{
text: model.name
text: model.name + " - " + model.layer_height
checkable: true
checked: Cura.MachineManager.globalQualityId == model.id
exclusiveGroup: group