You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Sort sample lists by name(more readable)
This commit is contained in:
@@ -94,6 +94,7 @@ void SamplePlayerEditor::_update_sample_library() {
|
||||
|
||||
List<StringName> samplenames;
|
||||
sl->get_sample_list(&samplenames);
|
||||
samplenames.sort_custom<StringName::AlphCompare>();
|
||||
for(List<StringName>::Element *E=samplenames.front();E;E=E->next()) {
|
||||
samples->add_item(E->get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user