1
0

store gui last wallet separately, to fix command line

This commit is contained in:
ThomasV
2015-02-27 10:37:13 +01:00
parent 46c290e30d
commit 77d010bcec
3 changed files with 5 additions and 2 deletions

View File

@@ -149,6 +149,9 @@ class ElectrumGui:
def main(self, url):
if self.config.get('wallet_path') is None and self.config.get('gui_last_wallet'):
self.config.read_only_options['wallet_path'] = self.config.get('gui_last_wallet')
storage = WalletStorage(self.config)
if storage.file_exists:
try:

View File

@@ -298,7 +298,7 @@ class ElectrumWindow(QMainWindow):
self.load_wallet(wallet)
self.show()
# save path
self.config.set_key('default_wallet_path', filename)
self.config.set_key('gui_last_wallet', filename)