Added maintenance state to display qml

CURA-2235
This commit is contained in:
Jaime van Kessel 2016-09-12 13:38:30 +02:00
parent fcefda9eaf
commit 31bc3d2575
2 changed files with 17 additions and 1 deletions

View file

@ -112,6 +112,11 @@ Rectangle
else if(!printerAcceptsCommands)
return UM.Theme.getIcon("tab_monitor_unknown");
if(Cura.MachineManager.printerOutputDevices[0].printerState == "maintenance")
{
return UM.Theme.getIcon("tab_monitor_busy");
}
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
{
case "printing":