mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Sort sample lists by name(more readable)
This commit is contained in:
		
							parent
							
								
									cbad0440ab
								
							
						
					
					
						commit
						1515de217e
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -235,6 +235,7 @@ void SampleLibraryEditor::_update_library() {
 | 
			
		|||
 | 
			
		||||
	List<StringName> names;
 | 
			
		||||
	sample_library->get_sample_list(&names);
 | 
			
		||||
	names.sort_custom<StringName::AlphCompare>();
 | 
			
		||||
 | 
			
		||||
	for(List<StringName>::Element *E=names.front();E;E=E->next()) {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue