mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Scene] Add SceneStringNames::id_pressed
This commit is contained in:
parent
505da68b26
commit
755a0efbb6
72 changed files with 163 additions and 161 deletions
|
|
@ -858,7 +858,7 @@ GroupsEditor::GroupsEditor() {
|
|||
add_child(tree);
|
||||
|
||||
menu = memnew(PopupMenu);
|
||||
menu->connect("id_pressed", callable_mp(this, &GroupsEditor::_menu_id_pressed));
|
||||
menu->connect(SceneStringName(id_pressed), callable_mp(this, &GroupsEditor::_menu_id_pressed));
|
||||
tree->add_child(menu);
|
||||
|
||||
ProjectSettingsEditor::get_singleton()->get_group_settings()->connect("group_changed", callable_mp(this, &GroupsEditor::_update_groups_and_tree));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue