From b7906c9ce7c5a9b033299de7700bf110431ee90f Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Fri, 1 Jul 2016 15:26:24 +0200 Subject: [PATCH] Fix warning about missing color in theme CURA-1036 --- resources/qml/MonitorButton.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml index 739364fb46..8a232e62f1 100644 --- a/resources/qml/MonitorButton.qml +++ b/resources/qml/MonitorButton.qml @@ -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;