Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
This commit is contained in:
@ -983,7 +983,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
add_child(new_profile_dialog);
|
||||
new_profile_dialog->connect("confirmed", callable_mp(this, &EditorFeatureProfileManager::_create_new_profile));
|
||||
new_profile_dialog->register_text_enter(new_profile_name);
|
||||
new_profile_dialog->get_ok_button()->set_text(TTR("Create"));
|
||||
new_profile_dialog->set_ok_button_text(TTR("Create"));
|
||||
|
||||
erase_profile_dialog = memnew(ConfirmationDialog);
|
||||
add_child(erase_profile_dialog);
|
||||
|
||||
Reference in New Issue
Block a user