瀏覽代碼

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> big_icon;
 
-		String tooltip = fname;
+		String tooltip = fpath;
 
 		// Select the icons
 		if (!finfo->import_broken) {