aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardNav.qml
diff options
context:
space:
mode:
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 {