diff options
author | kobewi <kobewi4e@gmail.com> | 2024-01-16 23:51:57 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-01-16 23:51:57 +0100 |
commit | 60e88f2defd3835478bdd71c9481a106cbd14167 (patch) | |
tree | 9bbbf0bd2e4553b4ee9e42c78c49d290d7cb9a65 /editor/scene_tree_dock.cpp | |
parent | 107f2961ccfac179af7682eb5f6e7ea91e80040c (diff) | |
download | redot-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.cpp | 1 |
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()); } } |