mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -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())
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue