mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Running machine actions outside of first run is now possible
CURA-1385
This commit is contained in:
parent
924af37dff
commit
181d16aad8
2 changed files with 20 additions and 2 deletions
|
@ -63,7 +63,7 @@ Component
|
||||||
text: catalog.i18nc("@action:button","Move to Next Position");
|
text: catalog.i18nc("@action:button","Move to Next Position");
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
manager.moveToNextLevelPosition()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,9 @@ Component
|
||||||
anchors.left: parent.width < wizardPage.width ? bedlevelingButton.right : parent.left
|
anchors.left: parent.width < wizardPage.width ? bedlevelingButton.right : parent.left
|
||||||
anchors.leftMargin: parent.width < wizardPage.width ? UM.Theme.getSize("default_margin").width : 0
|
anchors.leftMargin: parent.width < wizardPage.width ? UM.Theme.getSize("default_margin").width : 0
|
||||||
text: catalog.i18nc("@action:button","Skip bed leveling");
|
text: catalog.i18nc("@action:button","Skip bed leveling");
|
||||||
onClicked: {}
|
onClicked:
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,11 +51,27 @@ UM.ManagementPage
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
text: machineActionRepeater.model[index].label;
|
text: machineActionRepeater.model[index].label;
|
||||||
|
onClicked:
|
||||||
|
{
|
||||||
|
actionDialog.sourceComponent = machineActionRepeater.model[index].displayItem
|
||||||
|
actionDialog.show()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UM.Dialog
|
||||||
|
{
|
||||||
|
id: actionDialog
|
||||||
|
|
||||||
|
// We need to use a property because a window has it's own context.
|
||||||
|
property var sourceComponent
|
||||||
|
|
||||||
|
Loader
|
||||||
|
{
|
||||||
|
sourceComponent: actionDialog.sourceComponent
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue