Add button to start bedleveling wizard

Prevents the printer from homing unexpectedly
This commit is contained in:
fieldOfView 2016-07-29 14:29:35 +02:00
parent 6f46ed35fc
commit c1d9c1ea12
2 changed files with 24 additions and 2 deletions

View file

@ -55,13 +55,29 @@ Cura.MachineAction
anchors.horizontalCenter: parent.horizontalCenter
width: childrenRect.width
spacing: UM.Theme.getSize("default_margin").width
Button
{
id: startBedLevelingButton
text: catalog.i18nc("@action:button","Start Bed Leveling")
onClicked:
{
startBedLevelingButton.visible = false;
bedlevelingButton.visible = true;
checkupMachineAction.heatupHotendStarted = false;
checkupMachineAction.heatupBedStarted = false;
manager.startCheck();
}
}
Button
{
id: bedlevelingButton
text: catalog.i18nc("@action:button","Move to Next Position");
text: catalog.i18nc("@action:button","Move to Next Position")
visible: false
onClicked:
{
manager.moveToNextLevelPosition()
manager.moveToNextLevelPosition();
}
}
}