diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2021-11-27 19:06:22 +0100 |
|---|---|---|
| committer | rating89us <45968869+rating89us@users.noreply.github.com> | 2021-11-27 19:50:09 +0100 |
| commit | 843536c7a140c45f56d23c9e5e13ec31c95428a2 (patch) | |
| tree | 763dee2b98a0b5f4174bfd769c528857455f4ea5 /wizard | |
| parent | c72729fa5db0d018b0929866fb847ac99e05086f (diff) | |
| download | monzero-gui-843536c7a140c45f56d23c9e5e13ec31c95428a2.tar.gz monzero-gui-843536c7a140c45f56d23c9e5e13ec31c95428a2.tar.xz monzero-gui-843536c7a140c45f56d23c9e5e13ec31c95428a2.zip | |
WizardAskPassword: clean password fields when clicking on Back button
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardAskPassword.qml | 1 | ||||
| -rw-r--r-- | wizard/WizardCreateWallet2.qml | 3 | ||||
| -rw-r--r-- | wizard/WizardRestoreWallet2.qml | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml index b14aee4d..57a7876b 100644 --- a/wizard/WizardAskPassword.qml +++ b/wizard/WizardAskPassword.qml @@ -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 diff --git a/wizard/WizardCreateWallet2.qml b/wizard/WizardCreateWallet2.qml index c2e6736b..74fb1df0 100644 --- a/wizard/WizardCreateWallet2.qml +++ b/wizard/WizardCreateWallet2.qml @@ -64,6 +64,9 @@ Rectangle { progress: 1 btnNext.enabled: passwordFields.calcStrengthAndVerify(); onPrevClicked: { + passwordFields.password = ""; + passwordFields.passwordConfirm = ""; + if(wizardController.walletOptionsIsRecoveringFromDevice){ wizardStateView.state = "wizardCreateDevice1"; } else { diff --git a/wizard/WizardRestoreWallet2.qml b/wizard/WizardRestoreWallet2.qml index 78670df3..8251d6b7 100644 --- a/wizard/WizardRestoreWallet2.qml +++ b/wizard/WizardRestoreWallet2.qml @@ -67,6 +67,9 @@ Rectangle { progress: 1 btnNext.enabled: passwordFields.calcStrengthAndVerify(); onPrevClicked: { + passwordFields.password = ""; + passwordFields.passwordConfirm = ""; + wizardStateView.state = "wizardRestoreWallet1"; } onNextClicked: { |
