summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-10 14:12:42 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-10 14:12:42 +0000
commit1668af230bde86ebc7ca5e2ff113bd8ad122a9bc (patch)
tree686460d0df14bb383c102eaa46f54d15ae01b2d9 /src/wx
parent65dd745be52a7f12da387d4d52d3428faee751f6 (diff)
Case-insensitive sort for image filenames.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_panel.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 6d4a11868..ee9ed2bf8 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -32,6 +32,7 @@
#include "lib/content_factory.h"
#include "lib/image_content.h"
#include "lib/dcp_content.h"
+#include "lib/case_insensitive_sorter.h"
#include "lib/playlist.h"
#include <wx/wx.h>
#include <wx/notebook.h>
@@ -520,7 +521,7 @@ ContentPanel::add_files (list<boost::filesystem::path> paths)
alphabetical sort is expected here.
*/
- paths.sort ();
+ paths.sort (CaseInsensitiveSorter ());
/* XXX: check for lots of files here and do something */