Dont show layer height text in profiles drop down when there is not layer height set - CURA-4451

This commit is contained in:
ChrisTerBeke 2017-10-23 17:41:58 +02:00
parent d018e0b2bb
commit 3794ae16ae

View file

@ -17,7 +17,7 @@ Menu
MenuItem
{
text: model.name + " - " + model.layer_height
text: model.name + (model.layer_height != "" ? (" - " + model.layer_height) : "")
checkable: true
checked: Cura.MachineManager.activeQualityChangesId == "" && Cura.MachineManager.activeQualityType == model.metadata.quality_type
exclusiveGroup: group