aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardCreateWallet.qml
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-06-26 18:04:45 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-26 18:04:45 +0300
commit17f38a930e33c25392dd565f484009e5eddba56a (patch)
treed1aaa440fc48debb8232726a953447bd7f61ced5 /wizard/WizardCreateWallet.qml
parent88d9be953babda68cb5325258569578c11fa4438 (diff)
downloadmonzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.tar.gz
monzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.tar.xz
monzero-gui-17f38a930e33c25392dd565f484009e5eddba56a.zip
Added "Receive" page. Hide all pages except "Transfer" and "Receive".
Diffstat (limited to 'wizard/WizardCreateWallet.qml')
-rw-r--r--wizard/WizardCreateWallet.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml
index 0aad0052..d39d52d2 100644
--- a/wizard/WizardCreateWallet.qml
+++ b/wizard/WizardCreateWallet.qml
@@ -60,7 +60,9 @@ Item {
var wallet_filename = oshelper.temporaryFilename();
if (typeof settingsObject.wallet === 'undefined') {
//var wallet = walletManager.createWallet(wallet_filename, "", settingsObject.language)
- var wallet = walletManager.createWallet(wallet_filename, "", settingsObject.wallet_language)
+ var testnet = appWindow.persistentSettings.testnet;
+ var wallet = walletManager.createWallet(wallet_filename, "", settingsObject.wallet_language,
+ testnet)
uiItem.wordsTextItem.memoText = wallet.seed
// saving wallet in "global" settings object
// TODO: wallet should have a property pointing to the file where it stored or loaded from