mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Fix that you can only cancel in WizardDialog
CURA-6483
This commit is contained in:
parent
bed13bf42b
commit
defcba6927
5 changed files with 17 additions and 19 deletions
|
@ -104,6 +104,20 @@ Item
|
|||
}
|
||||
}
|
||||
|
||||
// This "Back" button only shows in the "Add Machine" dialog, which has "back_button_text" set to "Cancel"
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: backButton
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.bottom
|
||||
visible: base.currentItem.previous_page_button_text
|
||||
text: base.currentItem.previous_page_button_text
|
||||
onClicked:
|
||||
{
|
||||
base.endWizard()
|
||||
}
|
||||
}
|
||||
|
||||
Cura.PrimaryButton
|
||||
{
|
||||
id: nextButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue