Don't try to close HUD mw twice.

This commit is contained in:
Eratosthenes 2010-12-07 10:20:20 -05:00
parent 78fdb37f38
commit 3fbaa0b0fb

1
pyfpdb/HUD_main.pyw Executable file → Normal file
View File

@ -312,7 +312,6 @@ def idle_kill(hud_main, table):
try: try:
if table in hud_main.hud_dict: if table in hud_main.hud_dict:
hud_main.hud_dict[table].kill() hud_main.hud_dict[table].kill()
hud_main.hud_dict[table].main_window.destroy()
hud_main.vb.remove(hud_main.hud_dict[table].tablehudlabel) hud_main.vb.remove(hud_main.hud_dict[table].tablehudlabel)
del(hud_main.hud_dict[table]) del(hud_main.hud_dict[table])
hud_main.main_window.resize(1, 1) hud_main.main_window.resize(1, 1)