Merge pull request #3134 from Ultimaker/3.2

Fix for CURA-4789
This commit is contained in:
Ian Paschal 2018-01-15 14:41:23 +01:00 committed by GitHub
commit dac67ef2fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 92 additions and 74 deletions

View file

@ -63,11 +63,9 @@ Item
menu: ProfileMenu { }
function generateActiveQualityText () {
var result = catalog.i18nc("@", "No Profile Available") // default text
result = Cura.MachineManager.activeQualityName
if (Cura.MachineManager.isActiveQualitySupported ) {
result = Cura.MachineManager.activeQualityName
if (Cura.MachineManager.activeQualityLayerHeight > 0) {
result += " <font color=\"" + UM.Theme.getColor("text_detail") + "\">"
result += " - "