diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-01 17:22:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-01 17:22:22 +0200 |
commit | 6cb0a26d9d11e0b689e7977ecbc962973aa0a3cc (patch) | |
tree | 748129c2809842055cd88c60cce74e5336fd3377 | |
parent | Merge pull request #5291 (diff) | |
parent | wallet2: set seed language when creating from json (diff) | |
download | monero-6cb0a26d9d11e0b689e7977ecbc962973aa0a3cc.tar.xz |
Merge pull request #5292
328d291f wallet2: set seed language when creating from json (moneromooo-monero)
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 5ae32385f..8010fff54 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -622,6 +622,8 @@ std::pair<std::unique_ptr<tools::wallet2>, tools::password_container> generate_f wallet.reset(make_basic(vm, unattended, opts, password_prompter).release()); wallet->set_refresh_from_block_height(field_scan_from_height); wallet->explicit_refresh_from_block_height(field_scan_from_height_found); + if (!old_language.empty()) + wallet->set_seed_language(old_language); try { |