hide tooltip when we press a button in groupchat. Fixes #4479
This commit is contained in:
		
							parent
							
								
									8f6d262901
								
							
						
					
					
						commit
						02230e0607
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue