diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-13 14:10:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 14:10:38 +0200 |
commit | b942c1ffe3dc8f7ea45f9d535700740d78e38543 (patch) | |
tree | 0ca4f39588aff239b68e9c38ade4839bb8a8bf04 /editor/scene_tree_dock.cpp | |
parent | dd1951355ded10df8469dd1ee04e279981a8f981 (diff) | |
parent | e4067064cecd71914691580447d77de9bbc3d0b6 (diff) |
Merge pull request #62827 from fire-forge/ok-cancel
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index a0fc4a41de..fb8be5db81 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -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); |