add middle-click on stat_window to hide it (since we don't currently have a way to hide it when someone leaves)

This commit is contained in:
eblade 2008-11-25 08:52:59 -05:00
parent 2c00422f34
commit 49390940e3

View File

@ -288,6 +288,7 @@ class Stat_Window:
self.double_click(widget, event, *args) self.double_click(widget, event, *args)
if event.button == 2: # middle button event if event.button == 2: # middle button event
self.window.hide()
# print "middle button clicked" # print "middle button clicked"
pass pass