wizard: Reset password and account name fields on wizard restart

This commit is contained in:
Jaquee
2016-12-08 15:37:16 +01:00
parent 26abdee5c4
commit 6ca4e05167
4 changed files with 27 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ Rectangle {
property string currentPath: "create_wallet"
property var pages: paths[currentPath]
signal wizardRestarted();
signal useMoneroClicked()
signal openWalletFromFileClicked()
border.color: "#DBDBDB"
@@ -60,6 +61,7 @@ Rectangle {
wizard.settings = ({})
wizard.currentPath = "create_wallet"
wizard.pages = paths[currentPath]
wizardRestarted();
//hide all pages except first
for (var i = 1; i < wizard.pages.length; i++){