Hide maximum bed temperature if there is no maximum

Instead of the ugly 'None' it would display.

Contributes to issue CURA-3161.
This commit is contained in:
Ghostkeeper 2017-02-07 17:39:45 +01:00
parent 0b10df01b0
commit be9823e94f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -210,6 +210,7 @@ Column
Label //Maximum temperature indication.
{
text: bedTemperature.properties.maximum_value
visible: bedTemperature.properties.maximum_value != "None"
color: UM.Theme.getColor("setting_unit")
font: UM.Theme.getFont("default")
anchors.right: parent.right