tproper close method - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 4faeaef91ecbcab7da330ab40d2a913b281dc7c7 (DIR) parent 1fec0887d2f6d4a98c0712862d6e5370caa331e4 (HTM) 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(-) --- (DIR) diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -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: