summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiganzo <158825920+Giganzo@users.noreply.github.com>2024-09-22 11:17:06 +0200
committerGiganzo <158825920+Giganzo@users.noreply.github.com>2024-09-22 11:17:06 +0200
commit15f344173e9ee00b6083dd1f6e6bc9897b310f90 (patch)
tree72e2efb9814a34d17843d426d3387020ba40fd85
parent621cadcf651b93757d5dbf8969023ae62a16f1a4 (diff)
downloadredot-engine-15f344173e9ee00b6083dd1f6e6bc9897b310f90.tar.gz
Fix Add button style in GroupsEditor
-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 ce2dbe7cb1..e0de6bbcb1 100644
--- a/editor/groups_editor.cpp
+++ b/editor/groups_editor.cpp
@@ -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);