Don't try to close HUD mw twice.
This commit is contained in:
parent
78fdb37f38
commit
3fbaa0b0fb
1
pyfpdb/HUD_main.pyw
Executable file → Normal file
1
pyfpdb/HUD_main.pyw
Executable file → Normal 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user