Răsfoiți Sursa

Merge pull request #100376 from larspet/filesystem-tree-rebuild

Don't rebuild tree when selecting a file in FileSystem list view
Thaddeus Crews 8 luni în urmă
părinte
comite
129aae7aaa
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      editor/filesystem_dock.cpp

+ 0 - 3
editor/filesystem_dock.cpp

@@ -3565,9 +3565,6 @@ void FileSystemDock::_file_multi_selected(int p_index, bool p_selected) {
 		String fpath = files->get_item_metadata(current);
 		if (!fpath.ends_with("/")) {
 			current_path = fpath;
-			if (display_mode != DISPLAY_MODE_TREE_ONLY) {
-				_update_tree(get_uncollapsed_paths());
-			}
 		}
 	}