mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08:00
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.
This commit is contained in:
parent
2bdb388ad5
commit
99f53cb832
@ -161,6 +161,10 @@ Rectangle
|
||||
visible: showProgress;
|
||||
indeterminate:
|
||||
{
|
||||
if (!printerConnected)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||
{
|
||||
case "pausing":
|
||||
|
Loading…
x
Reference in New Issue
Block a user