mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
fix #1011
This commit is contained in:
parent
2ce3424968
commit
0934976f3a
2 changed files with 3 additions and 1 deletions
|
@ -296,6 +296,8 @@ class ElectrumWindow(QMainWindow):
|
||||||
wallet.start_threads(self.network)
|
wallet.start_threads(self.network)
|
||||||
# load new wallet in gui
|
# load new wallet in gui
|
||||||
self.load_wallet(wallet)
|
self.load_wallet(wallet)
|
||||||
|
# save path
|
||||||
|
self.config.set_key('default_wallet_path', filename)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ class WalletStorage(object):
|
||||||
|
|
||||||
# path in config file
|
# path in config file
|
||||||
path = config.get('default_wallet_path')
|
path = config.get('default_wallet_path')
|
||||||
if path:
|
if path and os.path.exists(path):
|
||||||
return path
|
return path
|
||||||
|
|
||||||
# default path
|
# default path
|
||||||
|
|
Loading…
Add table
Reference in a new issue