From 1d9ac0905306fa2ff52f34d1e9e775b587fe0281 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 18 Aug 2017 11:09:02 +0200 Subject: [PATCH] No longer attempt to create monitorView if none was set --- cura/PrinterOutputDevice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index c3f709afe1..6643ce6e03 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -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.