mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
Prevent error when the active printerOutputDevice has no cameraImage
This commit is contained in:
parent
0799a9e278
commit
e19a7914b1
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ UM.MainWindow
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenterOffset: - UM.Theme.getSize("sidebar").width / 2
|
||||
visible: base.monitoringPrint
|
||||
source: Cura.MachineManager.printerOutputDevices.length > 0 ? Cura.MachineManager.printerOutputDevices[0].cameraImage : ""
|
||||
source: Cura.MachineManager.printerOutputDevices.length > 0 && Cura.MachineManager.printerOutputDevices[0].cameraImage ? Cura.MachineManager.printerOutputDevices[0].cameraImage : ""
|
||||
}
|
||||
|
||||
UM.MessageStack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue