diff options
| author | selsta <selsta@sent.at> | 2019-12-20 06:29:10 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-12-20 06:32:42 +0100 |
| commit | 3c6a1e45d75cd6eeb08eeb167e12d982f25af4ec (patch) | |
| tree | c83fe6b02d8f10d63fbc668323c4fcd5f9fa963a /wizard/WizardNav.qml | |
| parent | 500c7ec82e1d0d8b0f1fb45e2649a7795d4e5a22 (diff) | |
| download | monzero-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.qml | 5 |
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 { |
