From 49390940e375143dfc53584d4798abe8df3d2115 Mon Sep 17 00:00:00 2001 From: eblade Date: Tue, 25 Nov 2008 08:52:59 -0500 Subject: [PATCH] add middle-click on stat_window to hide it (since we don't currently have a way to hide it when someone leaves) --- pyfpdb/Hud.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index c2d601e8..4ed1060c 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -288,6 +288,7 @@ class Stat_Window: self.double_click(widget, event, *args) if event.button == 2: # middle button event + self.window.hide() # print "middle button clicked" pass