aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/file_dialog.cpp
diff options
context:
space:
mode:
authorDamian Day2017-05-11 20:07:59 +0100
committerDamian Day2017-05-12 13:02:25 +0100
commitf2564ca97fd6a25bc68f2e7302461970306fc837 (patch)
tree084a01ac0a8386a6dcda5cbcecee4b9ea01d03f6 /scene/gui/file_dialog.cpp
parented6baffc72e2144b64a77cd388507072c8c2b300 (diff)
downloadgodot-f2564ca97fd6a25bc68f2e7302461970306fc837.tar.gz
godot-f2564ca97fd6a25bc68f2e7302461970306fc837.tar.zst
godot-f2564ca97fd6a25bc68f2e7302461970306fc837.zip
Diffstat (limited to 'scene/gui/file_dialog.cpp')
-rw-r--r--scene/gui/file_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp
index 2f1af318e..391b39443 100644
--- a/scene/gui/file_dialog.cpp
+++ b/scene/gui/file_dialog.cpp
@@ -336,8 +336,8 @@ void FileDialog::update_file_list() {
dirs.push_back("..");
}
- dirs.sort_custom<NoCaseComparator>();
- files.sort_custom<NoCaseComparator>();
+ dirs.sort_custom<NaturalNoCaseComparator>();
+ files.sort_custom<NaturalNoCaseComparator>();
while (!dirs.empty()) {
String &dir_name = dirs.front()->get();