Fix autoclose on tourney table change.
This commit is contained in:
parent
a4dff38c9f
commit
f0a5864bf4
|
@ -312,8 +312,9 @@ def idle_kill(hud_main, table):
|
||||||
gtk.gdk.threads_enter()
|
gtk.gdk.threads_enter()
|
||||||
try:
|
try:
|
||||||
if table in hud_main.hud_dict:
|
if table in hud_main.hud_dict:
|
||||||
hud_main.hud_dict[table].kill()
|
|
||||||
hud_main.vb.remove(hud_main.hud_dict[table].tablehudlabel)
|
hud_main.vb.remove(hud_main.hud_dict[table].tablehudlabel)
|
||||||
|
hud_main.hud_dict[table].main_window.destroy()
|
||||||
|
hud_main.hud_dict[table].kill()
|
||||||
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)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user