Fix delete dialog ok button text in SceneTreeDock

This commit is contained in:
Giganzo 2024-09-22 03:51:16 +02:00
parent 621cadcf65
commit 2be7c6d66b

View file

@ -4645,6 +4645,7 @@ SceneTreeDock::SceneTreeDock(Node *p_scene_root, EditorSelection *p_editor_selec
set_process_shortcut_input(true);
delete_dialog = memnew(ConfirmationDialog);
delete_dialog->set_ok_button_text(TTR("Delete"));
add_child(delete_dialog);
delete_dialog->connect(SceneStringName(confirmed), callable_mp(this, &SceneTreeDock::_delete_confirm).bind(false));