forked from Public/monero-gui
wizard: Reset password and account name fields on wizard restart
This commit is contained in:
@@ -44,6 +44,11 @@ Item {
|
||||
|
||||
onOpacityChanged: visible = opacity !== 0
|
||||
|
||||
function onWizardRestarted() {
|
||||
// reset account name field
|
||||
uiItem.accountNameText = defaultAccountName
|
||||
}
|
||||
|
||||
//! function called each time we display this page
|
||||
|
||||
function onPageOpened(settingsOblect) {
|
||||
@@ -98,4 +103,8 @@ Item {
|
||||
wordsTextItem.memoTextReadOnly: true
|
||||
restoreHeightVisible:false
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
parent.wizardRestarted.connect(onWizardRestarted)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user