Browse Source

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.
Mintormo 7 years ago
parent
commit
41a3929d25
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/filesystem_dock.cpp

+ 1 - 0
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";