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

Merge pull request #86386 from timothyqiu/empty-layout-name

Strip edges of editor layout names
This commit is contained in:
Rémi Verschelde
2024-04-10 14:21:37 +02:00
2 changed files with 3 additions and 9 deletions

View File

@@ -2136,10 +2136,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());