浏览代码

Replacing filename with path in tooltip into FileSystem dock

Lisapple 6 年之前
父节点
当前提交
182a04b1da
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

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