summaryrefslogtreecommitdiffstats
path: root/editor/groups_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/groups_editor.cpp')
-rw-r--r--editor/groups_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/groups_editor.cpp b/editor/groups_editor.cpp
index daa014bfac..fc2ea80be9 100644
--- a/editor/groups_editor.cpp
+++ b/editor/groups_editor.cpp
@@ -836,7 +836,7 @@ GroupsEditor::GroupsEditor() {
add = memnew(Button);
add->set_flat(true);
add->set_tooltip_text(TTR("Add a new group."));
- add->connect("pressed", callable_mp(this, &GroupsEditor::_show_add_group_dialog));
+ add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
hbc->add_child(add);
filter = memnew(LineEdit);