fix: make uri optional in new_window

This commit is contained in:
ThomasV 2015-09-03 11:27:33 +02:00
parent 3cc7c1454b
commit 2a889d318b
1 changed files with 2 additions and 2 deletions

View File

@ -199,9 +199,9 @@ class ElectrumGui:
return
wallet = wizard.run(action, wallet_type)
if wallet:
self.start_new_window(full_path, None)
self.new_window(full_path)
def new_window(self, path, uri):
def new_window(self, path, uri=None):
# Use a signal as can be called from daemon thread
self.app.emit(SIGNAL('new_window'), path, uri)