mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Merge branch '4.1'
This commit is contained in:
commit
6708d9da64
11 changed files with 37 additions and 27 deletions
|
@ -104,10 +104,11 @@ UM.ManagementPage
|
|||
text: machineActionRepeater.model[index].label
|
||||
onClicked:
|
||||
{
|
||||
actionDialog.content = machineActionRepeater.model[index].displayItem;
|
||||
machineActionRepeater.model[index].displayItem.reset();
|
||||
actionDialog.title = machineActionRepeater.model[index].label;
|
||||
actionDialog.show();
|
||||
var currentItem = machineActionRepeater.model[index]
|
||||
actionDialog.loader.manager = currentItem
|
||||
actionDialog.loader.source = currentItem.qmlPath
|
||||
actionDialog.title = currentItem.label
|
||||
actionDialog.show()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,13 +118,7 @@ UM.ManagementPage
|
|||
UM.Dialog
|
||||
{
|
||||
id: actionDialog
|
||||
property var content
|
||||
onContentChanged:
|
||||
{
|
||||
contents = content;
|
||||
content.onCompleted.connect(hide)
|
||||
content.dialog = actionDialog
|
||||
}
|
||||
|
||||
rightButtons: Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Close")
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"toolbox_thumbnail_large": [12.0, 10.0],
|
||||
"toolbox_footer": [1.0, 4.5],
|
||||
"toolbox_footer_button": [8.0, 2.5],
|
||||
"toolbox_header_tab": [8.0, 4.0],
|
||||
"toolbox_header_tab": [12.0, 4.0],
|
||||
"toolbox_detail_header": [1.0, 14.0],
|
||||
"toolbox_back_column": [6.0, 1.0],
|
||||
"toolbox_back_button": [6.0, 2.0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue