Rename AcceptDialog get_ok() to get_ok_button()
Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
This commit is contained in:
parent
a511a26ad8
commit
8509c8c8fc
51 changed files with 231 additions and 231 deletions
|
|
@ -62,7 +62,7 @@ void ResourcePreloaderEditor::_files_load_request(const Vector<String> &p_paths)
|
|||
dialog->set_text(TTR("ERROR: Couldn't load resource!"));
|
||||
dialog->set_title(TTR("Error!"));
|
||||
//dialog->get_cancel()->set_text("Close");
|
||||
dialog->get_ok()->set_text(TTR("Close"));
|
||||
dialog->get_ok_button()->set_text(TTR("Close"));
|
||||
dialog->popup_centered();
|
||||
return; ///beh should show an error i guess
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@ void ResourcePreloaderEditor::_paste_pressed() {
|
|||
if (!r.is_valid()) {
|
||||
dialog->set_text(TTR("Resource clipboard is empty!"));
|
||||
dialog->set_title(TTR("Error!"));
|
||||
dialog->get_ok()->set_text(TTR("Close"));
|
||||
dialog->get_ok_button()->set_text(TTR("Close"));
|
||||
dialog->popup_centered();
|
||||
return; ///beh should show an error i guess
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue