commit aac7a34405575a238964d6e429ebaf90ecd03fc6
parent c99007bda73cfe88f2a054f51df7cb607135c1c8
Author: RGauthamRam <30320759+RGauthamRam@users.noreply.github.com>
Date: Thu, 30 Aug 2018 14:35:01 +0000
Update __init__.py (#4668)
Resolving the issue #4363
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrum/gui/qt/__init__.py b/electrum/gui/qt/__init__.py
@@ -260,7 +260,8 @@ class ElectrumGui:
return w
def close_window(self, window):
- self.windows.remove(window)
+ if window in self.windows:
+ self.windows.remove(window)
self.build_tray_menu()
# save wallet path of last open window
if not self.windows: