mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08:00
Fix qml warning when no printer is connected
This commit is contained in:
parent
2153ee8651
commit
a291131aca
@ -161,6 +161,10 @@ Rectangle
|
||||
visible: showProgress;
|
||||
indeterminate:
|
||||
{
|
||||
if(!printerConnected)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
switch(Cura.MachineManager.printerOutputDevices[0].jobState)
|
||||
{
|
||||
case "pausing":
|
||||
|
Loading…
x
Reference in New Issue
Block a user