mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
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
|
|
@ -661,7 +661,7 @@ ShaderEditor::ShaderEditor(EditorNode *p_node) {
|
|||
vbc->add_child(dl);
|
||||
|
||||
disk_changed->connect("confirmed", callable_mp(this, &ShaderEditor::_reload_shader_from_disk));
|
||||
disk_changed->get_ok()->set_text(TTR("Reload"));
|
||||
disk_changed->get_ok_button()->set_text(TTR("Reload"));
|
||||
|
||||
disk_changed->add_button(TTR("Resave"), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "resave");
|
||||
disk_changed->connect("custom_action", callable_mp(this, &ShaderEditor::save_external_data));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue