You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix editor layouts broken after 9a7ff65
This commit is contained in:
@@ -4651,8 +4651,7 @@ void EditorNode::_layout_menu_option(int p_id) {
|
|||||||
return; //no config
|
return; //no config
|
||||||
}
|
}
|
||||||
|
|
||||||
int idx=editor_layouts->get_item_index(p_id);
|
_load_docks_from_config(config, editor_layouts->get_item_text(p_id));
|
||||||
_load_docks_from_config(config, editor_layouts->get_item_text(idx));
|
|
||||||
_save_docks();
|
_save_docks();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user