aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-12-02 00:02:47 -0600
committerluigi1111 <luigi1111w@gmail.com>2021-12-02 00:02:47 -0600
commit50c8f30d0bde66bc553fa16938c53bbba5f74b34 (patch)
tree383341c70b67ba9c18d3999901a89539b5205a38
parente2203a871ce158e9e58ea5dd4cd6e07d673161b0 (diff)
parent843536c7a140c45f56d23c9e5e13ec31c95428a2 (diff)
downloadmonzero-gui-50c8f30d0bde66bc553fa16938c53bbba5f74b34.tar.gz
monzero-gui-50c8f30d0bde66bc553fa16938c53bbba5f74b34.tar.xz
monzero-gui-50c8f30d0bde66bc553fa16938c53bbba5f74b34.zip
Merge pull request #3755
843536c WizardAskPassword: clean password fields when clicking on Back button (rating89us)
-rw-r--r--wizard/WizardAskPassword.qml1
-rw-r--r--wizard/WizardCreateWallet2.qml3
-rw-r--r--wizard/WizardRestoreWallet2.qml3
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: {