Fix warning about missing color in theme

CURA-1036
This commit is contained in:
fieldOfView 2016-07-01 15:26:24 +02:00
parent 087ebc0768
commit b7906c9ce7

View file

@ -28,8 +28,10 @@ Rectangle
return UM.Theme.getColor("status_ready") return UM.Theme.getColor("status_ready")
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused") else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused")
return UM.Theme.getColor("status_paused") return UM.Theme.getColor("status_paused")
else if (Cura.MachineManager.printerOutputDevices[0].jobState != "error") else if (Cura.MachineManager.printerOutputDevices[0].jobState == "error")
return UM.Theme.getColor("status_error") return UM.Theme.getColor("status_stopped")
else
return UM.Theme.getColor("text")
} }
property bool activity: Printer.getPlatformActivity; property bool activity: Printer.getPlatformActivity;