mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:45:54 +08:00
Hide "0%" progress while in pre_print state
CURA-1963
This commit is contained in:
parent
12d59cb465
commit
105541ed07
@ -29,14 +29,14 @@ Rectangle
|
|||||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||||
{
|
{
|
||||||
case "printing":
|
case "printing":
|
||||||
case "pre_print": // heating, etc.
|
|
||||||
case "paused":
|
case "paused":
|
||||||
return true;
|
return true;
|
||||||
|
case "pre_print": // heating, etc.
|
||||||
case "wait_cleanup":
|
case "wait_cleanup":
|
||||||
case "ready": // nut sure if this occurs, "" seems to be the ready state.
|
|
||||||
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": // ready to print or getting ready
|
||||||
case "": // ready to print or getting ready
|
case "": // ready to print or getting ready
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user