diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2016-12-08 15:37:16 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-12-08 15:37:16 +0100 |
| commit | 6ca4e05167ce64f746e92254baecc80c76ef7782 (patch) | |
| tree | c6f529c217b6d903e3689dc113beac2a29b4b3dd /wizard/WizardPassword.qml | |
| parent | 26abdee5c47017a80117b1bed5ee36586a240c62 (diff) | |
| download | monzero-gui-6ca4e05167ce64f746e92254baecc80c76ef7782.tar.gz monzero-gui-6ca4e05167ce64f746e92254baecc80c76ef7782.tar.xz monzero-gui-6ca4e05167ce64f746e92254baecc80c76ef7782.zip | |
wizard: Reset password and account name fields on wizard restart
Diffstat (limited to 'wizard/WizardPassword.qml')
| -rw-r--r-- | wizard/WizardPassword.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wizard/WizardPassword.qml b/wizard/WizardPassword.qml index 8645a300..3c66f83c 100644 --- a/wizard/WizardPassword.qml +++ b/wizard/WizardPassword.qml @@ -64,6 +64,12 @@ Item { return true } + function onWizardRestarted(){ + // Reset password fields + passwordItem.password = ""; + retypePasswordItem.password = ""; + } + function handlePassword() { // allow to forward step only if passwords match @@ -178,6 +184,6 @@ Item { } Component.onCompleted: { - console.log + parent.wizardRestarted.connect(onWizardRestarted) } } |
