1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Merge pull request #48466 from EricEzaM/output-log-save-state

Made Editor Log buttons save their state, per project.
This commit is contained in:
Rémi Verschelde
2021-05-07 00:47:41 +02:00
committed by GitHub
3 changed files with 78 additions and 3 deletions

View File

@@ -4362,6 +4362,8 @@ void EditorNode::_save_docks() {
}
Ref<ConfigFile> config;
config.instance();
// Load and amend existing config if it exists.
config->load(EditorSettings::get_singleton()->get_project_settings_dir().plus_file("editor_layout.cfg"));
_save_docks_to_config(config, "docks");
_save_open_scenes_to_config(config, "EditorNode");