summaryrefslogtreecommitdiff
path: root/tools/editor/connections_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-15 07:35:31 +0200
committerGitHub <noreply@github.com>2016-07-15 07:35:31 +0200
commitd33bdd2891fcda4f139a759363947290ea058fa9 (patch)
tree2a7dc52dbd858e95d909c618db9d9ed47877f730 /tools/editor/connections_dialog.cpp
parent3e2c7bf797bd073727e5d0272ce47aa77895935b (diff)
parent9ff7c5524f21d299380e68e600cd99133cf6a215 (diff)
Merge pull request #5715 from volzhs/issue-5659
Perform connect when double click a node on connecting signal window
Diffstat (limited to 'tools/editor/connections_dialog.cpp')
-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);