diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-11-08 14:42:42 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-11-08 14:42:42 +0100 |
commit | b04b54609206e6aa84d0c59f764f33570dfc62c1 (patch) | |
tree | 2609459b93a438ab99062afb7f68fd5cb97da9c0 /editor/scene_tree_dock.cpp | |
parent | 3e7f638d7b574785f521beafaf52a6ad95be016f (diff) | |
download | redot-engine-b04b54609206e6aa84d0c59f764f33570dfc62c1.tar.gz |
Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index bd52deedac..d882c4652d 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -3056,7 +3056,7 @@ void SceneTreeDock::_add_children_to_popup(Object *p_obj, int p_depth) { Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(obj); if (menu->get_item_count() == 0) { - menu->add_submenu_item(TTR("Sub-Resources"), "Sub-Resources"); + menu->add_submenu_item(TTR("Sub-Resources"), "SubResources"); } menu_subresources->add_icon_item(icon, E.name.capitalize(), EDIT_SUBRESOURCE_BASE + subresources.size()); menu_subresources->set_item_indent(-1, p_depth); @@ -4142,7 +4142,7 @@ SceneTreeDock::SceneTreeDock(Node *p_scene_root, EditorSelection *p_editor_selec menu->connect("id_pressed", callable_mp(this, &SceneTreeDock::_tool_selected).bind(false)); menu_subresources = memnew(PopupMenu); - menu_subresources->set_name("Sub-Resources"); + menu_subresources->set_name("SubResources"); menu_subresources->connect("id_pressed", callable_mp(this, &SceneTreeDock::_tool_selected).bind(false)); menu->add_child(menu_subresources); |