Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
This commit is contained in:
parent
5268efdcd9
commit
e4067064ce
59 changed files with 188 additions and 149 deletions
|
|
@ -171,7 +171,7 @@ ReplicationEditor::ReplicationEditor() {
|
|||
add_child(delete_dialog);
|
||||
|
||||
error_dialog = memnew(AcceptDialog);
|
||||
error_dialog->get_ok_button()->set_text(TTR("Close"));
|
||||
error_dialog->set_ok_button_text(TTR("Close"));
|
||||
error_dialog->set_title(TTR("Error!"));
|
||||
add_child(error_dialog);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue