mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Comments CURA-2064
This commit is contained in:
parent
fc462cdf6f
commit
2d723cbb57
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ Rectangle
|
||||||
|
|
||||||
property bool showProgress: {
|
property bool showProgress: {
|
||||||
// determine if we need to show the progress bar + percentage
|
// determine if we need to show the progress bar + percentage
|
||||||
if(!printerConnected || !printerAcceptsCommands)
|
if(!printerConnected || !printerAcceptsCommands) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +37,7 @@ Rectangle
|
||||||
case "offline":
|
case "offline":
|
||||||
case "abort": // note sure if this jobState actually occurs in the wild
|
case "abort": // note sure if this jobState actually occurs in the wild
|
||||||
case "error": // after clicking abort you apparently get "error"
|
case "error": // after clicking abort you apparently get "error"
|
||||||
case "": // ready to print
|
case "": // ready to print or getting ready
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue