Fix clicking on sub-resources in a node's right-click menu

This commit is contained in:
binbitten 2018-01-13 09:05:50 +01:00
parent 30d7943311
commit 1e9fbcf36c
1 changed files with 1 additions and 0 deletions

View File

@ -2066,6 +2066,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor, Node *p_scene_root, EditorSel
menu->connect("id_pressed", this, "_tool_selected");
menu_subresources = memnew(PopupMenu);
menu_subresources->set_name("Sub-Resources");
menu_subresources->connect("id_pressed", this, "_tool_selected");
menu->add_child(menu_subresources);
first_enter = true;
restore_script_editor_on_drag = false;