Save ProjectSettings on editor restart
(cherry picked from commit 59e1c007a7
)
This commit is contained in:
parent
9084e2e85b
commit
ad204f9b95
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue