diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-13 10:29:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-13 10:29:22 +0100 |
commit | 5d6beba4cc8bda552b4a00e99d34a700c5010889 (patch) | |
tree | b9f89ec317e049fac37c707a6c0ce1678b0ea75c /editor | |
parent | 30d7943311cdf4efbc6794a52df0e298f5e6d975 (diff) | |
parent | 1e9fbcf36c8cec6549e6f2e650cc39f80dc5f808 (diff) |
Merge pull request #15654 from binbitten/fix-subres-click
Fix clicking on sub-resources in a node's right-click menu
Diffstat (limited to 'editor')
-rw-r--r-- | editor/scene_tree_dock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 98871d5193..41ee5ab286 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -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; |