Add 'Experimental' tag for quality profiles in the header.

When an experimental quality profile is active, the stage panel does not show that it is experimental.
It is however shown on the quality drop-down menu in Custom mode.

This commit also fixes the untranslated (hardcoded) 'Experimental' string in the dropdown in Custom.

Fixes the issue reported in CURA-6118.
This commit is contained in:
Remco Burema 2019-01-16 15:41:09 +01:00
parent 7c7f6a1f03
commit a0dd3f06e6
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ RowLayout
if (!Cura.MachineManager.hasNotSupportedQuality)
{
text += " " + layerHeight.properties.value + "mm"
text += Cura.MachineManager.isActiveQualityExperimental ? " - " + catalog.i18nc("@label", "Experimental") : ""
}
return text
}