Save ProjectSettings on editor restart
This commit is contained in:
parent
d7e6c20c82
commit
59e1c007a7
|
@ -258,6 +258,7 @@ void ProjectSettingsEditor::_add_feature_overrides() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProjectSettingsEditor::_editor_restart() {
|
void ProjectSettingsEditor::_editor_restart() {
|
||||||
|
ProjectSettings::get_singleton()->save();
|
||||||
EditorNode::get_singleton()->save_all_scenes();
|
EditorNode::get_singleton()->save_all_scenes();
|
||||||
EditorNode::get_singleton()->restart_editor();
|
EditorNode::get_singleton()->restart_editor();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue