mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix warning about missing color in theme
CURA-1036
This commit is contained in:
parent
087ebc0768
commit
b7906c9ce7
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue