1
0

move methods calling installwizard to main gui class

This commit is contained in:
ThomasV
2015-09-02 12:05:33 +02:00
parent 4e458b5639
commit bdb4d3ecb8
4 changed files with 108 additions and 107 deletions

View File

@@ -296,9 +296,9 @@ class ClientThread(util.DaemonThread):
cmd = config.get('cmd')
if cmd == 'gui':
if self.server.gui:
if hasattr(server.gui, 'load_wallet_file'):
if hasattr(server.gui, 'new_window'):
path = config.get_wallet_path()
self.server.gui.load_wallet_file(path)
self.server.gui.new_window(path)
response = "ok"
else:
response = "error: current GUI does not support multiple windows"