mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Fix warning about missing color in theme
CURA-1036
This commit is contained in:
parent
087ebc0768
commit
b7906c9ce7
@ -28,8 +28,10 @@ Rectangle
|
||||
return UM.Theme.getColor("status_ready")
|
||||
else if(Cura.MachineManager.printerOutputDevices[0].jobState == "paused")
|
||||
return UM.Theme.getColor("status_paused")
|
||||
else if (Cura.MachineManager.printerOutputDevices[0].jobState != "error")
|
||||
return UM.Theme.getColor("status_error")
|
||||
else if (Cura.MachineManager.printerOutputDevices[0].jobState == "error")
|
||||
return UM.Theme.getColor("status_stopped")
|
||||
else
|
||||
return UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
property bool activity: Printer.getPlatformActivity;
|
||||
|
Loading…
x
Reference in New Issue
Block a user