Fix missing argument in call to kill_hud.

This commit is contained in:
Ray 2009-02-28 18:46:54 -05:00
parent 5bf7d9038a
commit 5ba8d3b95d

View File

@ -142,7 +142,7 @@ class Hud:
def update_table_position(self): def update_table_position(self):
if os.name == 'nt': if os.name == 'nt':
if not win32gui.IsWindow(self.table.number): if not win32gui.IsWindow(self.table.number):
self.parent.kill_hud(self) self.parent.kill_hud(self, self.table.name)
return False return False
# anyone know how to do this in unix, or better yet, trap the X11 error that is triggered when executing the get_origin() for a closed window? # anyone know how to do this in unix, or better yet, trap the X11 error that is triggered when executing the get_origin() for a closed window?