commit 4faeaef91ecbcab7da330ab40d2a913b281dc7c7 parent 1fec0887d2f6d4a98c0712862d6e5370caa331e4 Author: ThomasV <thomasv@gitorious> Date: Wed, 28 Nov 2012 21:14:12 +0100 proper close method Diffstat:
M | lib/gui_qt.py | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -320,6 +320,11 @@ class ElectrumWindow(QMainWindow): tabs.setCurrentIndex (n) tabs.setCurrentIndex (0) + def close(self): + QMainWindow.close(self) + if self.qr_window: + self.qr_window.close() + self.qr_window = None def connect_slots(self, sender): if self.wallet.seed: