mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
parent
0e6160bf2d
commit
361ffc0620
2 changed files with 4 additions and 3 deletions
|
@ -221,6 +221,7 @@ class Daemon(DaemonThread):
|
||||||
config = SimpleConfig(config_options)
|
config = SimpleConfig(config_options)
|
||||||
if self.gui:
|
if self.gui:
|
||||||
if hasattr(self.gui, 'new_window'):
|
if hasattr(self.gui, 'new_window'):
|
||||||
|
config.open_last_wallet()
|
||||||
path = config.get_wallet_path()
|
path = config.get_wallet_path()
|
||||||
self.gui.new_window(path, config.get('url'))
|
self.gui.new_window(path, config.get('url'))
|
||||||
response = "ok"
|
response = "ok"
|
||||||
|
|
|
@ -237,8 +237,8 @@ class ElectrumGui(PrintError):
|
||||||
try:
|
try:
|
||||||
for w in self.windows:
|
for w in self.windows:
|
||||||
if w.wallet.storage.path == wallet.storage.path:
|
if w.wallet.storage.path == wallet.storage.path:
|
||||||
w.bring_to_top()
|
break
|
||||||
return
|
else:
|
||||||
w = self.create_window_for_wallet(wallet)
|
w = self.create_window_for_wallet(wallet)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
|
|
Loading…
Add table
Reference in a new issue