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/plugins/texture_region_editor_plugin.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/plugins/texture_region_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/texture_region_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 3f4f9a4f4d..dd98247428 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -989,7 +989,7 @@ Vector2 TextureRegionEditor::snap_point(Vector2 p_target) const { } TextureRegionEditor::TextureRegionEditor() { - get_ok_button()->set_text(TTR("Close")); + set_ok_button_text(TTR("Close")); VBoxContainer *vb = memnew(VBoxContainer); add_child(vb); node_sprite_2d = nullptr; |