Fix bug in autoclosing HUDs on windows.
This commit is contained in:
parent
b3fb9e954d
commit
5bf7d9038a
|
@ -142,7 +142,7 @@ class Hud:
|
|||
def update_table_position(self):
|
||||
if os.name == 'nt':
|
||||
if not win32gui.IsWindow(self.table.number):
|
||||
self.kill_hud()
|
||||
self.parent.kill_hud(self)
|
||||
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?
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user