Browse Source

Merge pull request #18054 from Mintormo/bugfix-inconsistent-sort-in-file-manager

Fixed bug #17929. Inconsistent sort in file manager.
Rémi Verschelde 7 years ago
parent
commit
9101a89510
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";