Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-08-18 12:09:02 +0300
committerJaime van Kessel <nallath@gmail.com>2017-08-18 12:09:02 +0300
commit1d9ac0905306fa2ff52f34d1e9e775b587fe0281 (patch)
tree14e69c2d9162a6b57855b8110587a327575f9b55 /cura/PrinterOutputDevice.py
parent145b6825db561642819aab9b6eae6905723641df (diff)
No longer attempt to create monitorView if none was set
Diffstat (limited to 'cura/PrinterOutputDevice.py')
-rw-r--r--cura/PrinterOutputDevice.py2
1 files changed, 2 insertions, 0 deletions
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.