You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
[Scene] Add SceneStringNames::confirmed
This commit is contained in:
@@ -1486,7 +1486,7 @@ ProjectManager::ProjectManager() {
|
||||
ask_full_convert_dialog = memnew(ConfirmationDialog);
|
||||
ask_full_convert_dialog->set_autowrap(true);
|
||||
ask_full_convert_dialog->set_text(TTR("This option will perform full project conversion, updating scenes, resources and scripts from Godot 3 to work in Godot 4.\n\nNote that this is a best-effort conversion, i.e. it makes upgrading the project easier, but it will not open out-of-the-box and will still require manual adjustments.\n\nIMPORTANT: Make sure to backup your project before converting, as this operation makes it impossible to open it in older versions of Godot."));
|
||||
ask_full_convert_dialog->connect("confirmed", callable_mp(this, &ProjectManager::_perform_full_project_conversion));
|
||||
ask_full_convert_dialog->connect(SceneStringName(confirmed), callable_mp(this, &ProjectManager::_perform_full_project_conversion));
|
||||
add_child(ask_full_convert_dialog);
|
||||
|
||||
project_dialog = memnew(ProjectDialog);
|
||||
|
||||
Reference in New Issue
Block a user