mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Made Editor Log buttons save their state, per project.
This commit is contained in:
parent
e189ff55a7
commit
902d468f52
3 changed files with 78 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue