mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-01 06:01:14 +00:00 
			
		
		
		
	CreateDialog: select root if search exactly match
This commit is contained in:
		
							parent
							
								
									1525071c28
								
							
						
					
					
						commit
						9fb90d7aea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -203,7 +203,7 @@ void CreateDialog::_update_search() { | |||
| 	} | ||||
| 
 | ||||
| 	List<StringName>::Element *I = type_list.front(); | ||||
| 	TreeItem *to_select = NULL; | ||||
| 	TreeItem *to_select = search_box->get_text() == base_type ? root : NULL; | ||||
| 
 | ||||
| 	for (; I; I = I->next()) { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Poommetee Ketson
						Poommetee Ketson