mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix error about empty qml url
This commit is contained in:
parent
4d88d56ebf
commit
92859697c5
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue