Explorar el Código

Make parent folder selectable. Fix #16253

Guilherme Felipe hace 7 años
padre
commit
6e1c02b828
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -492,7 +492,7 @@ void FileSystemDock::_update_files(bool p_keep_selection) {
 		Ref<Texture> folderIcon = (use_thumbnails) ? folder_thumbnail : get_icon("folder", "FileDialog");
 
 		if (path != "res://") {
-			files->add_item("..", folderIcon, false);
+			files->add_item("..", folderIcon, true);
 
 			String bd = path.get_base_dir();
 			if (bd != "res://" && !bd.ends_with("/"))