Merge remote-tracking branch 'origin/3.6' into CURA-5821_fix_camera_memory_leak

This commit is contained in:
Lipu Fei 2018-10-25 14:53:42 +02:00
commit 31bdeb8b73
5 changed files with 45 additions and 30 deletions

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