You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.
Fixes #93022.
This commit is contained in:
@@ -5103,8 +5103,6 @@ void EditorNode::save_editor_layout_delayed() {
|
||||
}
|
||||
|
||||
void EditorNode::_load_editor_layout() {
|
||||
EditorProgress ep("loading_editor_layout", TTR("Loading editor"), 5);
|
||||
ep.step("Loading editor layout...", 0, true);
|
||||
Ref<ConfigFile> config;
|
||||
config.instantiate();
|
||||
Error err = config->load(EditorPaths::get_singleton()->get_project_settings_dir().path_join("editor_layout.cfg"));
|
||||
@@ -5126,19 +5124,11 @@ void EditorNode::_load_editor_layout() {
|
||||
return;
|
||||
}
|
||||
|
||||
ep.step("Loading docks...", 1, true);
|
||||
editor_dock_manager->load_docks_from_config(config, "docks");
|
||||
|
||||
ep.step("Reopening scenes...", 2, true);
|
||||
_load_open_scenes_from_config(config);
|
||||
|
||||
ep.step("Loading central editor layout...", 3, true);
|
||||
_load_central_editor_layout_from_config(config);
|
||||
|
||||
ep.step("Loading plugin window layout...", 4, true);
|
||||
editor_data.set_plugin_window_layout(config);
|
||||
|
||||
ep.step("Editor layout ready.", 5, true);
|
||||
}
|
||||
|
||||
void EditorNode::_save_central_editor_layout_to_config(Ref<ConfigFile> p_config_file) {
|
||||
|
||||
Reference in New Issue
Block a user