Merge pull request #97319 from Giganzo/groups-add-button-style

Fix Add button style in GroupsEditor
This commit is contained in:
Rémi Verschelde 2024-09-23 12:28:21 +02:00
commit e3aa152509
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -840,7 +840,7 @@ GroupsEditor::GroupsEditor() {
add_child(hbc);
add = memnew(Button);
add->set_flat(true);
add->set_theme_type_variation("FlatMenuButton");
add->set_tooltip_text(TTR("Add a new group."));
add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
hbc->add_child(add);