Fix delete dialog ok button text in SceneTreeDock
This commit is contained in:
parent
621cadcf65
commit
2be7c6d66b
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue