Fix values in print monitor preheat fields

Contributes to #7172
This commit is contained in:
fieldOfView 2020-02-28 12:27:57 +01:00
parent 9e94875733
commit d07649fc59
2 changed files with 7 additions and 7 deletions

View file

@ -209,15 +209,15 @@ Item
anchors.verticalCenter: parent.verticalCenter
renderType: Text.NativeRendering
Component.onCompleted:
text:
{
if (!extruderTemperature.properties.value)
{
text = "";
return "";
}
else
{
text = extruderTemperature.properties.value;
return extruderTemperature.properties.value;
}
}
}