aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardCreateWallet.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-01-26 10:30:07 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-01-26 10:30:07 +0300
commit63e4d19a9299f8088dd7cde336c901b102d8c220 (patch)
tree11e4c9f6510ee3a55ccccb7be1b730eaf5333f96 /wizard/WizardCreateWallet.qml
parent78b556575a8b6bcd2fb595dc56260b2c4203f637 (diff)
downloadmonzero-gui-63e4d19a9299f8088dd7cde336c901b102d8c220.tar.gz
monzero-gui-63e4d19a9299f8088dd7cde336c901b102d8c220.tar.xz
monzero-gui-63e4d19a9299f8088dd7cde336c901b102d8c220.zip
Save settings for each wizard page in "wizard.settings" object and
diplay overview at the last page
Diffstat (limited to 'wizard/WizardCreateWallet.qml')
-rw-r--r--wizard/WizardCreateWallet.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml
index 4e4c919e..15e5899d 100644
--- a/wizard/WizardCreateWallet.qml
+++ b/wizard/WizardCreateWallet.qml
@@ -39,6 +39,12 @@ Item {
onOpacityChanged: visible = opacity !== 0
+ function saveSettings(settingsObject) {
+ settingsObject['account_name'] = accountName.text
+ settingsObject['words'] = wordsText.text
+ settingsObject['wallet_path'] = fileUrlInput.text
+ }
+
Row {
id: dotsRow
anchors.top: parent.top
@@ -106,6 +112,7 @@ Item {
height: 62
TextInput {
+ id: accountName
anchors.fill: parent
horizontalAlignment: TextInput.AlignHCenter
verticalAlignment: TextInput.AlignVCenter