1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Strip edges of editor layout names

This commit is contained in:
Haoyu Qiu
2023-12-21 16:52:02 +08:00
parent 29b3d9e9e5
commit 23d50b1117
2 changed files with 3 additions and 9 deletions

View File

@@ -2135,10 +2135,6 @@ void EditorNode::_dialog_action(String p_file) {
} break;
case SETTINGS_LAYOUT_DELETE: {
if (p_file.is_empty()) {
return;
}
Ref<ConfigFile> config;
config.instantiate();
Error err = config->load(EditorSettings::get_singleton()->get_editor_layouts_config());