From 1515de217e666a77e4ad3bee8421e718cc6b4330 Mon Sep 17 00:00:00 2001 From: sanikoyes Date: Wed, 25 Mar 2015 10:57:35 +0800 Subject: Sort sample lists by name(more readable) --- tools/editor/plugins/sample_player_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor/plugins/sample_player_editor_plugin.cpp') diff --git a/tools/editor/plugins/sample_player_editor_plugin.cpp b/tools/editor/plugins/sample_player_editor_plugin.cpp index 405107889..2e31467dc 100644 --- a/tools/editor/plugins/sample_player_editor_plugin.cpp +++ b/tools/editor/plugins/sample_player_editor_plugin.cpp @@ -94,6 +94,7 @@ void SamplePlayerEditor::_update_sample_library() { List samplenames; sl->get_sample_list(&samplenames); + samplenames.sort_custom(); for(List::Element *E=samplenames.front();E;E=E->next()) { samples->add_item(E->get()); } -- cgit v1.2.3-70-g09d2