summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-01-16 23:51:57 +0100
committerkobewi <kobewi4e@gmail.com>2024-01-16 23:51:57 +0100
commit60e88f2defd3835478bdd71c9481a106cbd14167 (patch)
tree9bbbf0bd2e4553b4ee9e42c78c49d290d7cb9a65 /editor/scene_tree_dock.cpp
parent107f2961ccfac179af7682eb5f6e7ea91e80040c (diff)
downloadredot-engine-60e88f2defd3835478bdd71c9481a106cbd14167.tar.gz
Display path in tooltips of sub-resource list
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 9d1c0d6c62..9c7ba827b7 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());
}
}