mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 22:53:14 +08:00
No longer attempt to create monitorView if none was set
This commit is contained in:
parent
145b6825db
commit
1d9ac09053
@ -163,6 +163,8 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||
Logger.log("e", "QQmlComponent error string %s", self._control_component.errorString())
|
||||
|
||||
def _createMonitorViewFromQML(self):
|
||||
if not self._monitor_view_qml_path:
|
||||
return
|
||||
path = QUrl.fromLocalFile(self._monitor_view_qml_path)
|
||||
|
||||
# Because of garbage collection we need to keep this referenced by python.
|
||||
|
Loading…
x
Reference in New Issue
Block a user