mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	LibGUI: When tabbing between focusable widgets, skip over disabled ones.
This commit is contained in:
		
							parent
							
								
									c62be7bb2b
								
							
						
					
					
						commit
						b0ccd04a9c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -531,6 +531,8 @@ Vector<GWidget*> GWindow::focusable_widgets() const | |||
|             auto& child_widget = *static_cast<GWidget*>(child); | ||||
|             if (!child_widget.is_visible()) | ||||
|                 continue; | ||||
|             if (!child_widget.is_enabled()) | ||||
|                 continue; | ||||
|             collect_focusable_widgets(child_widget); | ||||
|         } | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling