Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog

This commit is contained in:
FireForge
2022-07-07 19:31:19 -05:00
parent 5268efdcd9
commit e4067064ce
59 changed files with 188 additions and 149 deletions

View File

@ -200,7 +200,7 @@ void PluginConfigDialog::config(const String &p_config_path) {
_on_required_text_changed("");
get_ok_button()->set_disabled(!_edit_mode);
get_ok_button()->set_text(_edit_mode ? TTR("Update") : TTR("Create"));
set_ok_button_text(_edit_mode ? TTR("Update") : TTR("Create"));
}
void PluginConfigDialog::_bind_methods() {