From 2d723cbb57194526627c12d673831895f1f49b32 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Tue, 9 Aug 2016 14:54:09 +0200 Subject: [PATCH] Comments CURA-2064 --- resources/qml/MonitorButton.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/MonitorButton.qml b/resources/qml/MonitorButton.qml index 0f7c170e40..73b9413b47 100644 --- a/resources/qml/MonitorButton.qml +++ b/resources/qml/MonitorButton.qml @@ -22,8 +22,9 @@ Rectangle property bool showProgress: { // determine if we need to show the progress bar + percentage - if(!printerConnected || !printerAcceptsCommands) + if(!printerConnected || !printerAcceptsCommands) { return false; + } switch(Cura.MachineManager.printerOutputDevices[0].jobState) { @@ -36,7 +37,7 @@ Rectangle case "offline": case "abort": // note sure if this jobState actually occurs in the wild case "error": // after clicking abort you apparently get "error" - case "": // ready to print + case "": // ready to print or getting ready default: return false; }