Wizard: Prevent user from getting trapped

This commit is contained in:
Jaquee
2016-12-17 15:38:43 +01:00
parent 55f4858a40
commit 0b7efa19ef
2 changed files with 5 additions and 7 deletions

View File

@@ -44,12 +44,12 @@ Item {
function onWizardRestarted() {
// reset account name field
uiItem.accountNameText = defaultAccountName
// Empty seedText
uiItem.wordsTextItem.memoText = "";
}
function onPageOpened(settingsObject) {
checkNextButton();
// Empty seedText when restoring multiple times in one session
uiItem.wordsTextItem.memoText = "";
checkNextButton();
}
function checkNextButton() {