wizard: clear password field after wallet creation

This commit is contained in:
selsta
2021-12-11 19:20:40 +01:00
parent bddb9b0050
commit 2566f445b2
7 changed files with 13 additions and 8 deletions

View File

@@ -41,6 +41,9 @@ Rectangle {
property alias pageHeight: pageRoot.height
property string viewName: "wizardRestoreWallet2"
property int recoveryMode: 1
property alias pwField: passwordFields.password
property alias pwConfirmField: passwordFields.passwordConfirm
ColumnLayout {
id: pageRoot
@@ -67,9 +70,6 @@ Rectangle {
progress: 1
btnNext.enabled: passwordFields.calcStrengthAndVerify();
onPrevClicked: {
passwordFields.password = "";
passwordFields.passwordConfirm = "";
wizardStateView.state = "wizardRestoreWallet1";
}
onNextClicked: {