Fix Create new group ok button text

This commit is contained in:
Giganzo 2024-09-22 11:54:24 +02:00
parent 621cadcf65
commit 2f0d9a2184

View file

@ -613,6 +613,7 @@ void GroupsEditor::_show_add_group_dialog() {
if (!add_group_dialog) {
add_group_dialog = memnew(ConfirmationDialog);
add_group_dialog->set_title(TTR("Create New Group"));
add_group_dialog->set_ok_button_text(TTR("Create"));
add_group_dialog->connect(SceneStringName(confirmed), callable_mp(this, &GroupsEditor::_confirm_add));
VBoxContainer *vbc = memnew(VBoxContainer);