mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 11:27:25 -04:00
wizard: Reset password and account name fields on wizard restart
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user