You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user