Merge pull request #4647 from Ultimaker/hotfix_show_printer_selection

[3.6] CL-1117 Hotfix: Show printer selection
This commit is contained in:
Diego Prado Gesto 2018-10-25 11:41:36 +02:00 committed by GitHub
commit dddda996dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}