From 2a889d318be1e2d50945f49b565ccd09cebd69ff Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 3 Sep 2015 11:27:33 +0200 Subject: [PATCH] fix: make uri optional in new_window --- gui/qt/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py index d127684d3..a19351557 100644 --- a/gui/qt/__init__.py +++ b/gui/qt/__init__.py @@ -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)