mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Fix error about empty qml url
This commit is contained in:
parent
4d88d56ebf
commit
92859697c5
@ -144,6 +144,9 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||
return self._control_item
|
||||
|
||||
def _createControlViewFromQML(self):
|
||||
if not self._control_view_qml_path:
|
||||
return
|
||||
|
||||
path = QUrl.fromLocalFile(self._control_view_qml_path)
|
||||
|
||||
# Because of garbage collection we need to keep this referenced by python.
|
||||
|
Loading…
x
Reference in New Issue
Block a user