Selaa lähdekoodia

Merge pull request #28702 from Lisapple/fs-show-path-tooltip

Show file path in FileSystem dock tooltip
Rémi Verschelde 6 vuotta sitten
vanhempi
commit
2bf28f58ac
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -756,7 +756,7 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) {
 		Ref<Texture> type_icon;
 		Ref<Texture> big_icon;
 
-		String tooltip = fname;
+		String tooltip = fpath;
 
 		// Select the icons
 		if (!finfo->import_broken) {