mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:32:43 +00:00 
			
		
		
		
	LibGUI: GAbstractColumnModel should never claim to hit a toggle box
Only GTreeView can hit a toggle box in index_at_event_position().
This commit is contained in:
		
							parent
							
								
									561718d88b
								
							
						
					
					
						commit
						4d406d5c6d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -346,8 +346,9 @@ void GAbstractColumnView::mousedown_event(GMouseEvent& event) | |||
|         selection().set(index); | ||||
| } | ||||
| 
 | ||||
| GModelIndex GAbstractColumnView::index_at_event_position(const Point& position, bool&) const | ||||
| GModelIndex GAbstractColumnView::index_at_event_position(const Point& position, bool& is_toggle) const | ||||
| { | ||||
|     is_toggle = false; | ||||
|     if (!model()) | ||||
|         return {}; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling