diff options
Diffstat (limited to 'wizard/WizardCreateWallet.qml')
| -rw-r--r-- | wizard/WizardCreateWallet.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index 11d91e24..81ee9ba7 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -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) + } } |
