aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardMain.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-10 16:41:13 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-10 16:41:13 +0300
commitfd50e6f9a3bc445cb3c0d21b7a0f584e95b44450 (patch)
treee942ec37af313d0e51a2f7f7eca8f45ff834b679 /wizard/WizardMain.qml
parent5c10be325103d668884fc5e463aaa59c726d4f8e (diff)
downloadmonzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.tar.gz
monzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.tar.xz
monzero-gui-fd50e6f9a3bc445cb3c0d21b7a0f584e95b44450.zip
new wallet wizard: wallet created in temporary directory and moved to
the destination at the final step
Diffstat (limited to 'wizard/WizardMain.qml')
-rw-r--r--wizard/WizardMain.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml
index 51e0baf3..a19c622c 100644
--- a/wizard/WizardMain.qml
+++ b/wizard/WizardMain.qml
@@ -49,8 +49,8 @@ Rectangle {
function switchPage(next) {
// save settings for current page;
- if (typeof pages[currentPage].saveSettings !== 'undefined') {
- pages[currentPage].saveSettings(settings);
+ if (typeof pages[currentPage].onPageClosed !== 'undefined') {
+ pages[currentPage].onPageClosed(settings);
}
print ("switchpage: start: currentPage: ", currentPage);
@@ -61,7 +61,6 @@ Rectangle {
pages[currentPage].opacity = 1;
handlePageChanged();
}
-
}
function handlePageChanged() {
@@ -91,9 +90,9 @@ Rectangle {
nextButton.enabled = true
}
-
}
+
function openCreateWalletPage() {
print ("show create wallet page");
pages[currentPage].opacity = 0;