Ver Fonte

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

Fixed bug #17929. Inconsistent sort in file manager.
Rémi Verschelde há 7 anos atrás
pai
commit
9101a89510
1 ficheiros alterados com 1 adições e 0 exclusões
  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";