Skip to content

Commit 15f3441

Browse files
committed
Fix Add button style in GroupsEditor
1 parent 621cadc commit 15f3441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/groups_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ GroupsEditor::GroupsEditor() {
840840
add_child(hbc);
841841

842842
add = memnew(Button);
843-
add->set_flat(true);
843+
add->set_theme_type_variation("FlatMenuButton");
844844
add->set_tooltip_text(TTR("Add a new group."));
845845
add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
846846
hbc->add_child(add);

0 commit comments

Comments
 (0)