mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 08:37:25 -04:00
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