fix #1011
This commit is contained in:
parent
2ce3424968
commit
0934976f3a
|
@ -296,6 +296,8 @@ class ElectrumWindow(QMainWindow):
|
|||
wallet.start_threads(self.network)
|
||||
# load new wallet in gui
|
||||
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 = config.get('default_wallet_path')
|
||||
if path:
|
||||
if path and os.path.exists(path):
|
||||
return path
|
||||
|
||||
# default path
|
||||
|
|
Loading…
Reference in New Issue