From 5bf7d9038a39a6d9295749cfabdc30a525875158 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 28 Feb 2009 15:19:01 -0500 Subject: [PATCH] Fix bug in autoclosing HUDs on windows. --- pyfpdb/Hud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 73dd3472..d821e41e 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -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?