This commit is contained in:
ThomasV 2015-02-17 10:30:10 +01:00
parent 2ce3424968
commit 0934976f3a
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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