(cherry picked from commit 59e1c007a70d8df2c686f8ba448a3891979b35fd)
@@ -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();