From bcab0d7be90d54da310901b69f318d284908b2ad Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 8 Feb 2017 14:00:06 +0100 Subject: [PATCH] Add unit to maximum temperature indication Contributes to issue CURA-3161. --- resources/qml/PrintMonitor.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/qml/PrintMonitor.qml b/resources/qml/PrintMonitor.qml index b707b41151..90111265f0 100644 --- a/resources/qml/PrintMonitor.qml +++ b/resources/qml/PrintMonitor.qml @@ -210,8 +210,7 @@ Column } Label //Maximum temperature indication. { - text: bedTemperature.properties.maximum_value - visible: bedTemperature.properties.maximum_value != "None" + text: (bedTemperature.properties.maximum_value != "None" ? bedTemperature.properties.maximum_value : "") + "°C" color: UM.Theme.getColor("setting_unit") font: UM.Theme.getFont("default") anchors.right: parent.right