mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 15:21:15 -07:00
Prevent QML warnings when there is no connected printer
CURA-1036
This commit is contained in:
parent
beff54e5b1
commit
00ad7b23ff
2 changed files with 21 additions and 16 deletions
|
|
@ -569,7 +569,7 @@ UM.MainWindow
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenterOffset: - UM.Theme.getSize("sidebar").width / 2
|
||||
visible: base.monitoringPrint
|
||||
source: Cura.MachineManager.printerOutputDevices[0].cameraImage
|
||||
source: Cura.MachineManager.printerOutputDevices.length > 0 ? Cura.MachineManager.printerOutputDevices[0].cameraImage : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue