diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-12-14 16:46:52 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-12-14 16:46:52 +0100 |
commit | 89629d35bba75f677d9172083b7fad13a11127b7 (patch) | |
tree | d348b9182da4fb8afdd58e9669ea7ab0aacd3d0d | |
parent | 27e4c87869d70a1f79ee5d8daa005768cffeebb9 (diff) | |
parent | 6e4b1ff8388864f336164b3942a05ca8640e9ccf (diff) |
Merge pull request #3075 from neikeq/fix_editor_layouts
Fix editor layouts broken
-rw-r--r-- | tools/editor/editor_node.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 05df0a3e48..f7ad05d05a 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -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(); } |