aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardNav.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-12-20 06:29:10 +0100
committerselsta <selsta@sent.at>2019-12-20 06:32:42 +0100
commit3c6a1e45d75cd6eeb08eeb167e12d982f25af4ec (patch)
treec83fe6b02d8f10d63fbc668323c4fcd5f9fa963a /wizard/WizardNav.qml
parent500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff)
downloadmonzero-gui-3c6a1e45d75cd6eeb08eeb167e12d982f25af4ec.tar.gz
monzero-gui-3c6a1e45d75cd6eeb08eeb167e12d982f25af4ec.tar.xz
monzero-gui-3c6a1e45d75cd6eeb08eeb167e12d982f25af4ec.zip
wizard: fix mode selection back button
Diffstat (limited to 'wizard/WizardNav.qml')
-rw-r--r--wizard/WizardNav.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizard/WizardNav.qml b/wizard/WizardNav.qml
index 9770b976..be363fc7 100644
--- a/wizard/WizardNav.qml
+++ b/wizard/WizardNav.qml
@@ -38,6 +38,7 @@ GridLayout {
property alias progressEnabled: wizardProgress.visible
property int progressSteps: 0
property int progress: 0
+ property bool autoTransition: true
property alias btnPrev: btnPrev
property alias btnNext: btnNext
property string btnPrevText: qsTr("Previous") + translationManager.emptyString
@@ -55,11 +56,11 @@ GridLayout {
signal m_prevClicked;
onM_prevClicked: {
- wizardController.wizardStackView.backTransition = true;
+ if (autoTransition) wizardController.wizardStackView.backTransition = true;
}
onM_nextClicked: {
- wizardController.wizardStackView.backTransition = false;
+ if (autoTransition) wizardController.wizardStackView.backTransition = false;
}
Rectangle {