mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 08:32:54 +00:00
Defer creating new editor process in "Quit to Project List" just like in "Reload Current Project"
This commit is contained in:
parent
d76c1d0e51
commit
44d14cf6af
@ -3189,8 +3189,7 @@ void EditorNode::_discard_changes(const String &p_str) {
|
||||
}
|
||||
args.push_back("--project-manager");
|
||||
|
||||
Error err = OS::get_singleton()->create_instance(args);
|
||||
ERR_FAIL_COND(err);
|
||||
OS::get_singleton()->set_restart_on_exit(true, args);
|
||||
} break;
|
||||
case RELOAD_CURRENT_PROJECT: {
|
||||
restart_editor();
|
||||
|
Loading…
Reference in New Issue
Block a user