mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
This commit is contained in:
parent
3e7f638d7b
commit
b04b546092
13 changed files with 45 additions and 44 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue