mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-20 04:15:53 +01:00
wizard: Language button on home and add back button
This commit is contained in:
parent
d5f4d5d93f
commit
7b0cd19487
@ -149,12 +149,10 @@ Rectangle {
|
||||
}
|
||||
|
||||
MoneroComponents.StandardButton {
|
||||
visible: !persistentSettings.customDecorations
|
||||
small: true
|
||||
text: qsTr("Change language") + translationManager.emptyString
|
||||
|
||||
onClicked: {
|
||||
wizardController.wizardStackView.backTransition = false;
|
||||
appWindow.toggleLanguageView();
|
||||
}
|
||||
}
|
||||
|
@ -138,13 +138,13 @@ Rectangle {
|
||||
|
||||
WizardNav {
|
||||
Layout.topMargin: 5
|
||||
btnPrevText: qsTr("Change language") + translationManager.emptyString
|
||||
btnPrevText: qsTr("Back to menu") + translationManager.emptyString
|
||||
btnNext.visible: false
|
||||
progressSteps: 0
|
||||
|
||||
onPrevClicked: {
|
||||
wizardController.wizardStackView.backTransition = true;
|
||||
wizardController.wizardState = 'wizardLanguage';
|
||||
wizardController.wizardStackView.backTransition = wizardController.wizardStatePrevious.viewName == 'wizardLanguage';
|
||||
wizardController.wizardState = wizardController.wizardStatePrevious.viewName == 'wizardLanguage' ? 'wizardLanguage' : 'wizardHome';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user