mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix editor layouts broken after 9a7ff65
This commit is contained in:
parent
27e4c87869
commit
6e4b1ff838
1 changed files with 1 additions and 2 deletions
|
|
@ -4651,8 +4651,7 @@ void EditorNode::_layout_menu_option(int p_id) {
|
|||
return; //no config
|
||||
}
|
||||
|
||||
int idx=editor_layouts->get_item_index(p_id);
|
||||
_load_docks_from_config(config, editor_layouts->get_item_text(idx));
|
||||
_load_docks_from_config(config, editor_layouts->get_item_text(p_id));
|
||||
_save_docks();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue