Merge pull request #3075 from neikeq/fix_editor_layouts
Fix editor layouts broken
This commit is contained in:
commit
89629d35bb
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…
Reference in a new issue