summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-07-15 14:29:14 +0900
committervolzhs <volzhs@gmail.com>2016-07-15 14:29:14 +0900
commit9ff7c5524f21d299380e68e600cd99133cf6a215 (patch)
tree2a7dc52dbd858e95d909c618db9d9ed47877f730
parent3e2c7bf797bd073727e5d0272ce47aa77895935b (diff)
Perform connect when double click a node on connecting signal window
-rw-r--r--tools/editor/connections_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/connections_dialog.cpp b/tools/editor/connections_dialog.cpp
index faaae4360b..bdc420c70f 100644
--- a/tools/editor/connections_dialog.cpp
+++ b/tools/editor/connections_dialog.cpp
@@ -309,6 +309,7 @@ ConnectDialog::ConnectDialog() {
tree = memnew(SceneTreeEditor(false));
+ tree->get_scene_tree()->connect("item_activated",this,"_ok");
vbc_left->add_margin_child(TTR("Connect To Node:"),tree,true);