diff options
| author | Damian Day | 2017-05-11 20:07:59 +0100 |
|---|---|---|
| committer | Damian Day | 2017-05-12 13:02:25 +0100 |
| commit | f2564ca97fd6a25bc68f2e7302461970306fc837 (patch) | |
| tree | 084a01ac0a8386a6dcda5cbcecee4b9ea01d03f6 /scene/gui/file_dialog.cpp | |
| parent | ed6baffc72e2144b64a77cd388507072c8c2b300 (diff) | |
| download | godot-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.cpp | 4 |
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(); |
