mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
No longer attempt to create monitorView if none was set
This commit is contained in:
parent
145b6825db
commit
1d9ac09053
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,8 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||||
Logger.log("e", "QQmlComponent error string %s", self._control_component.errorString())
|
Logger.log("e", "QQmlComponent error string %s", self._control_component.errorString())
|
||||||
|
|
||||||
def _createMonitorViewFromQML(self):
|
def _createMonitorViewFromQML(self):
|
||||||
|
if not self._monitor_view_qml_path:
|
||||||
|
return
|
||||||
path = QUrl.fromLocalFile(self._monitor_view_qml_path)
|
path = QUrl.fromLocalFile(self._monitor_view_qml_path)
|
||||||
|
|
||||||
# Because of garbage collection we need to keep this referenced by python.
|
# Because of garbage collection we need to keep this referenced by python.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue