mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Prevent wizard pages from closing when they are "accepted" by pressing return.
Also removes some code replication in wizard pages. CURA-1354
This commit is contained in:
parent
134867f833
commit
cde23edfed
4 changed files with 5 additions and 49 deletions
|
@ -71,9 +71,7 @@ Item
|
|||
anchors.left: parent.width < wizardPage.width ? upgradeButton.right : parent.left
|
||||
anchors.leftMargin: parent.width < wizardPage.width ? UM.Theme.getSize("default_margin").width : 0
|
||||
text: catalog.i18nc("@action:button","Skip Upgrade");
|
||||
onClicked: {
|
||||
base.currentPage += 1
|
||||
}
|
||||
onClicked: base.nextPage()
|
||||
}
|
||||
}
|
||||
ExclusiveGroup { id: printerGroup; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue