mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
wizard: saving locale instead of language; wallet interface continued
This commit is contained in:
parent
7d9306ca1a
commit
6d0179f1a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user