Add unit to maximum temperature indication

Contributes to issue CURA-3161.
This commit is contained in:
Ghostkeeper 2017-02-08 14:00:06 +01:00
parent 1395735ece
commit bcab0d7be9
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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