From 1a6766019685b3dd0aa647143941e207f68ab2ac Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Thu, 25 Oct 2018 10:54:59 +0200 Subject: [PATCH] Hotfix: Show printer selection --- plugins/UM3NetworkPrinting/resources/qml/PrintWindow.qml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrintWindow.qml b/plugins/UM3NetworkPrinting/resources/qml/PrintWindow.qml index a28167d260..c2590e99a8 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrintWindow.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrintWindow.qml @@ -8,9 +8,6 @@ import UM 1.1 as UM UM.Dialog { id: base; - property var printersModel: { - return ListModel{}; - } height: minimumHeight; leftButtons: [ Button { @@ -87,7 +84,9 @@ UM.Dialog { id: printerSelectionCombobox; Behavior on height { NumberAnimation { duration: 100 } } height: 40 * screenScaleFactor; - model: base.printersModel; + model: ListModel { + id: printersModel; + } textRole: "name"; width: parent.width; }