diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-09 11:47:24 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-09 11:47:24 +0100 |
commit | 26f1c503ec867d1e0bed50ca35e85db3a784f168 (patch) | |
tree | 088211e2fd2a74e7cdefba1504956c0a864c5cfb /editor/plugins/text_shader_editor.cpp | |
parent | b153f4868aeea4a7128e235750017f96da3a6eee (diff) | |
parent | b04b54609206e6aa84d0c59f764f33570dfc62c1 (diff) | |
download | redot-engine-26f1c503ec867d1e0bed50ca35e85db3a784f168.tar.gz |
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
Diffstat (limited to 'editor/plugins/text_shader_editor.cpp')
-rw-r--r-- | editor/plugins/text_shader_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/text_shader_editor.cpp b/editor/plugins/text_shader_editor.cpp index 27f42608c6..3a2ddeb94e 100644 --- a/editor/plugins/text_shader_editor.cpp +++ b/editor/plugins/text_shader_editor.cpp @@ -1152,9 +1152,9 @@ TextShaderEditor::TextShaderEditor() { goto_menu->get_popup()->add_separator(); bookmarks_menu = memnew(PopupMenu); - bookmarks_menu->set_name("Bookmarks"); + bookmarks_menu->set_name("BookmarksMenu"); goto_menu->get_popup()->add_child(bookmarks_menu); - goto_menu->get_popup()->add_submenu_item(TTR("Bookmarks"), "Bookmarks"); + goto_menu->get_popup()->add_submenu_item(TTR("Bookmarks"), "BookmarksMenu"); _update_bookmark_list(); bookmarks_menu->connect("about_to_popup", callable_mp(this, &TextShaderEditor::_update_bookmark_list)); bookmarks_menu->connect("index_pressed", callable_mp(this, &TextShaderEditor::_bookmark_item_pressed)); |