hide tooltip when we press a button in groupchat. Fixes #4479

This commit is contained in:
Yann Leboulanger 2008-11-18 21:43:35 +00:00
parent 8f6d262901
commit 02230e0607
1 changed files with 2 additions and 0 deletions

View File

@ -2234,6 +2234,8 @@ class GroupchatControl(ChatControlBase):
def on_list_treeview_button_press_event(self, widget, event):
'''popup user's group's or agent menu'''
# hide tooltip, no matter the button is pressed
self.tooltip.hide_tooltip()
if event.button == 3: # right click
try:
path, column, x, y = widget.get_path_at_pos(int(event.x),