From 6d0179f1a7e28d8a858ba569df1dae7c199ea059 Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Tue, 1 Mar 2016 18:41:30 +0300 Subject: [PATCH] wizard: saving locale instead of language; wallet interface continued --- wizard/WizardCreateWallet.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index ce573e86..346627dc 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -45,8 +45,6 @@ Item { settingsObject['words'] = uiItem.wordsTexttext settingsObject['wallet_path'] = uiItem.walletPath - - var new_wallet_filename = settingsObject.wallet_path + "/" + settingsObject.account_name; @@ -64,7 +62,7 @@ Item { function createWallet(settingsObject) { var wallet_filename = uiItem.walletPath + "/" + uiItem.accountNameText if (typeof settingsObject.wallet === 'undefined') { - var wallet = walletManager.createWallet(wallet_filename, "", settingsObject.language) + var wallet = walletManager.createWallet(wallet_filename, "", settingsObject.locale) 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