mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-11 15:47:25 -04:00
Merge pull request #248
6ca4e05 wizard: Reset password and account name fields on wizard restart (Jaquee)
This commit is contained in:
@@ -41,6 +41,11 @@ Item {
|
||||
|
||||
onOpacityChanged: visible = opacity !== 0
|
||||
|
||||
function onWizardRestarted() {
|
||||
// reset account name field
|
||||
uiItem.accountNameText = defaultAccountName
|
||||
}
|
||||
|
||||
function onPageOpened(settingsObject) {
|
||||
checkNextButton();
|
||||
// Empty seedText when restoring multiple times in one session
|
||||
@@ -95,4 +100,8 @@ Item {
|
||||
checkNextButton();
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
parent.wizardRestarted.connect(onWizardRestarted)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user