forked from Public/monero-gui
wizard: fix mode selection back button
This commit is contained in:
@@ -141,10 +141,11 @@ Rectangle {
|
||||
btnPrevText: qsTr("Back to menu") + translationManager.emptyString
|
||||
btnNext.visible: false
|
||||
progressSteps: 0
|
||||
autoTransition: false
|
||||
|
||||
onPrevClicked: {
|
||||
wizardController.wizardStackView.backTransition = wizardController.wizardStatePrevious.viewName == 'wizardLanguage';
|
||||
wizardController.wizardState = wizardController.wizardStatePrevious.viewName == 'wizardLanguage' ? 'wizardLanguage' : 'wizardHome';
|
||||
wizardController.wizardStackView.backTransition = !wizardController.wizardStackView.backTransition;
|
||||
wizardController.wizardState = wizardController.wizardStackView.backTransition ? 'wizardLanguage' : 'wizardHome';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user