From 60e88f2defd3835478bdd71c9481a106cbd14167 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 16 Jan 2024 23:51:57 +0100 Subject: [PATCH] Display path in tooltips of sub-resource list --- editor/scene_tree_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 9d1c0d6c62d0..9c7ba827b775 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -3998,6 +3998,7 @@ void SceneTreeDock::_list_all_subresources(PopupMenu *p_menu) { } p_menu->add_item(display_text); + p_menu->set_item_tooltip(-1, pair.first->get_path()); p_menu->set_item_metadata(-1, pair.first->get_instance_id()); } }