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

@@ -149,9 +149,6 @@ def _run_hook(name, always, *args):
for p, f in f_list:
if name == 'load_wallet':
p.wallet = args[0]
if name == 'init_qt':
gui = args[0]
p.window = gui.main_window
if always or p.is_enabled():
try:
r = f(*args)