mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:45:55 +08:00
Hotfix: Show printer selection
This commit is contained in:
parent
47f820fe69
commit
1a67660196
@ -8,9 +8,6 @@ import UM 1.1 as UM
|
|||||||
|
|
||||||
UM.Dialog {
|
UM.Dialog {
|
||||||
id: base;
|
id: base;
|
||||||
property var printersModel: {
|
|
||||||
return ListModel{};
|
|
||||||
}
|
|
||||||
height: minimumHeight;
|
height: minimumHeight;
|
||||||
leftButtons: [
|
leftButtons: [
|
||||||
Button {
|
Button {
|
||||||
@ -87,7 +84,9 @@ UM.Dialog {
|
|||||||
id: printerSelectionCombobox;
|
id: printerSelectionCombobox;
|
||||||
Behavior on height { NumberAnimation { duration: 100 } }
|
Behavior on height { NumberAnimation { duration: 100 } }
|
||||||
height: 40 * screenScaleFactor;
|
height: 40 * screenScaleFactor;
|
||||||
model: base.printersModel;
|
model: ListModel {
|
||||||
|
id: printersModel;
|
||||||
|
}
|
||||||
textRole: "name";
|
textRole: "name";
|
||||||
width: parent.width;
|
width: parent.width;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user