summaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-08 18:18:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-08 18:18:54 -0300
commitfa170cbc5862f1fbe76702d5fffa26136269cbb9 (patch)
tree64f5a53b161ea715d4658df5455fa69d0a56f6ab /tools/editor/scene_tree_dock.cpp
parent1b0930c435b3aa4a3ab41b4936b9ceaa2f1da775 (diff)
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
Diffstat (limited to 'tools/editor/scene_tree_dock.cpp')
-rw-r--r--tools/editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/scene_tree_dock.cpp b/tools/editor/scene_tree_dock.cpp
index d9d5e82cfd..70195862de 100644
--- a/tools/editor/scene_tree_dock.cpp
+++ b/tools/editor/scene_tree_dock.cpp
@@ -2013,7 +2013,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor,Node *p_scene_root,EditorSelec
menu = memnew( PopupMenu );
add_child(menu);
- menu->connect("item_pressed",this,"_tool_selected");
+ menu->connect("id_pressed",this,"_tool_selected");
first_enter=true;
restore_script_editor_on_drag=false;