1
0

More cleanup now self.window is gone

No need for self.main_window in gui object.
No need for hooks "init_qt" and "close_main_window".
This commit is contained in:
Neil Booth
2015-09-04 18:29:52 +09:00
parent bbd50ba83c
commit 835bc4e4aa
3 changed files with 8 additions and 19 deletions

View File

@@ -2802,7 +2802,6 @@ class ElectrumWindow(QMainWindow):
if self.qr_window:
self.qr_window.close()
self.close_wallet()
run_hook('close_main_window')
self.gui_object.close_window(self)
event.accept()