Show "ready" state when a printer is connected but jobstate is not yet set

CURA-1036
This commit is contained in:
fieldOfView 2016-07-07 09:52:53 +02:00
parent a3618c243d
commit 35efea3d11
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ Rectangle
return UM.Theme.getColor("status_offline")
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "printing" || Cura.MachineManager.printerOutputDevices[0].jobState == "pre_print")
return UM.Theme.getColor("status_busy")
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "ready")
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "ready" || Cura.MachineManager.printerOutputDevices[0].jobState == "")
return UM.Theme.getColor("status_ready")
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused")
return UM.Theme.getColor("status_paused")