URI: 
       tfix #1011 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0934976f3ab1b39fddc65892f809b42b9c6ff89f
   DIR parent 2ce3424968675531bab19db706e452ba0418467b
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue, 17 Feb 2015 10:30:10 +0100
       
       fix #1011
       
       Diffstat:
         M gui/qt/main_window.py               |       2 ++
         M lib/wallet.py                       |       2 +-
       
       2 files changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -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)
        
        
        
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -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