electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 0934976f3ab1b39fddc65892f809b42b9c6ff89f
parent 2ce3424968675531bab19db706e452ba0418467b
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 17 Feb 2015 10:30:10 +0100

fix #1011

Diffstat:
Mgui/qt/main_window.py | 2++
Mlib/wallet.py | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -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) diff --git a/lib/wallet.py b/lib/wallet.py @@ -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