Merge pull request #86386 from timothyqiu/empty-layout-name
Strip edges of editor layout names
This commit is contained in:
commit
492c19732e
2 changed files with 3 additions and 9 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue