Save ProjectSettings on editor restart

(cherry picked from commit 59e1c007a7)
This commit is contained in:
kobewi 2021-02-26 13:33:08 +01:00 committed by Rémi Verschelde
parent 9084e2e85b
commit ad204f9b95

View file

@ -1704,6 +1704,7 @@ TabContainer *ProjectSettingsEditor::get_tabs() {
}
void ProjectSettingsEditor::_editor_restart() {
ProjectSettings::get_singleton()->save();
EditorNode::get_singleton()->save_all_scenes();
EditorNode::get_singleton()->restart_editor();
}