mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
If output device has a contorl item, that one is used.
If a printerOutput device does not define anything, the fallback is used. CURA-4057
This commit is contained in:
parent
216b1a7a14
commit
6e55bf2d8f
3 changed files with 40 additions and 4 deletions
|
@ -144,7 +144,7 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||
return self._control_item
|
||||
|
||||
def _createControlViewFromQML(self):
|
||||
path = QUrl.fromLocalFile(self._monitor_view_qml_path)
|
||||
path = QUrl.fromLocalFile(self._control_view_qml_path)
|
||||
|
||||
# Because of garbage collection we need to keep this referenced by python.
|
||||
self._control_component = QQmlComponent(Application.getInstance()._engine, path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue