From 99f53cb8322e07f1ff94195e44ecbcde0b82e841 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 28 Sep 2016 09:36:06 +0200 Subject: [PATCH] Early cop-out if there is no printer connected This indeterminate state is never visible, since showProgress is false then, but it might prevent some error message behind the scenes. Contributes to issue CURA-2060. --- resources/qml/MonitorButton.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml index 607d0a24ca..83d8b4bfc9 100644 --- a/resources/qml/MonitorButton.qml +++ b/resources/qml/MonitorButton.qml @@ -161,6 +161,10 @@ Rectangle visible: showProgress; indeterminate: { + if (!printerConnected) + { + return true; + } switch(Cura.MachineManager.printerOutputDevices[0].jobState) { case "pausing":