Merge pull request #62827 from fire-forge/ok-cancel
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
This commit is contained in:
commit
b942c1ffe3
59 changed files with 188 additions and 149 deletions
|
|
@ -3535,7 +3535,7 @@ SceneTreeDock::SceneTreeDock(Node *p_scene_root, EditorSelection *p_editor_selec
|
|||
|
||||
clear_inherit_confirm = memnew(ConfirmationDialog);
|
||||
clear_inherit_confirm->set_text(TTR("Clear Inheritance? (No Undo!)"));
|
||||
clear_inherit_confirm->get_ok_button()->set_text(TTR("Clear"));
|
||||
clear_inherit_confirm->set_ok_button_text(TTR("Clear"));
|
||||
add_child(clear_inherit_confirm);
|
||||
|
||||
set_process_input(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue