mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
Merge pull request #3755
843536c
WizardAskPassword: clean password fields when clicking on Back button (rating89us)
This commit is contained in:
commit
50c8f30d0b
@ -38,6 +38,7 @@ ColumnLayout {
|
||||
id: root
|
||||
Layout.fillWidth: true
|
||||
property alias password: passwordInput.text
|
||||
property alias passwordConfirm: passwordInputConfirm.text
|
||||
property int passwordFill: 0
|
||||
property string passwordStrengthText: qsTr("Strength: ") + translationManager.emptyString
|
||||
|
||||
|
@ -64,6 +64,9 @@ Rectangle {
|
||||
progress: 1
|
||||
btnNext.enabled: passwordFields.calcStrengthAndVerify();
|
||||
onPrevClicked: {
|
||||
passwordFields.password = "";
|
||||
passwordFields.passwordConfirm = "";
|
||||
|
||||
if(wizardController.walletOptionsIsRecoveringFromDevice){
|
||||
wizardStateView.state = "wizardCreateDevice1";
|
||||
} else {
|
||||
|
@ -67,6 +67,9 @@ Rectangle {
|
||||
progress: 1
|
||||
btnNext.enabled: passwordFields.calcStrengthAndVerify();
|
||||
onPrevClicked: {
|
||||
passwordFields.password = "";
|
||||
passwordFields.passwordConfirm = "";
|
||||
|
||||
wizardStateView.state = "wizardRestoreWallet1";
|
||||
}
|
||||
onNextClicked: {
|
||||
|
Loading…
Reference in New Issue
Block a user