Fix display of bed temperature before a printer is added

Otherwise you get an error if you switch to the print monitor before adding a printer.
This commit is contained in:
Ghostkeeper 2017-09-22 15:14:03 +02:00
parent 07610ea6bb
commit 3de608cb0f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -444,6 +444,10 @@ Column
Component.onCompleted:
{
if (!bedTemperature.properties.value)
{
text = "";
}
if ((bedTemperature.resolve != "None" && bedTemperature.resolve) && (bedTemperature.stackLevels[0] != 0) && (bedTemperature.stackLevels[0] != 1))
{
// We have a resolve function. Indicates that the setting is not settable per extruder and that