From 41a3929d25258202272f854bd4e0ed02f9e152d5 Mon Sep 17 00:00:00 2001 From: Mintormo Date: Sun, 8 Apr 2018 13:18:01 +0300 Subject: [PATCH] Fixed bug #17929. Inconsistent sort in file manager. This commit fix a bug #17929 (https://github.com/godotengine/godot/issues/17929) in file manager. I'm just added sorting of files list in method FileSystemDock::_update_files. --- editor/filesystem_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index d5783c9b1af..df00967951c 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -533,6 +533,7 @@ void FileSystemDock::_update_files(bool p_keep_selection) { filelist.push_back(fi); } + filelist.sort(); } String oi = "Object";