1
0

open each wallet in a separate window

This commit is contained in:
ThomasV
2015-09-01 12:16:07 +02:00
parent 119aa5bf2e
commit ce06d92100
2 changed files with 12 additions and 8 deletions

View File

@@ -109,8 +109,12 @@ class ElectrumGui:
def new_window(self, config):
self.app.emit(SIGNAL('new_window'), config)
def start_new_window(self, config):
path = config.get_wallet_path()
def load_wallet_file(self, path):
self.app.emit(SIGNAL('new_window'), self.config, path)
def start_new_window(self, config, path=None):
if path is None:
path = config.get_wallet_path()
for w in self.windows:
if w.config.get_wallet_path() == path:
break