summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_file_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/gui/editor_file_dialog.cpp')
-rw-r--r--editor/gui/editor_file_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/gui/editor_file_dialog.cpp b/editor/gui/editor_file_dialog.cpp
index fe86ac442b..df1f026f78 100644
--- a/editor/gui/editor_file_dialog.cpp
+++ b/editor/gui/editor_file_dialog.cpp
@@ -874,8 +874,8 @@ void EditorFileDialog::update_file_list() {
item = dir_access->get_next();
}
- dirs.sort_custom<NaturalNoCaseComparator>();
- files.sort_custom<NaturalNoCaseComparator>();
+ dirs.sort_custom<FileNoCaseComparator>();
+ files.sort_custom<FileNoCaseComparator>();
while (!dirs.is_empty()) {
const String &dir_name = dirs.front()->get();