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:
Jaime van Kessel 2017-07-20 13:30:57 +02:00
parent 216b1a7a14
commit 6e55bf2d8f
3 changed files with 40 additions and 4 deletions

View file

@ -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)