mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06: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
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,10 @@ Rectangle
|
|||
visible: showProgress;
|
||||
indeterminate:
|
||||
{
|
||||
if (!printerConnected)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||
{
|
||||
case "pausing":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue