Browse Source

Perform connect when double click a node on connecting signal window

volzhs 9 years ago
parent
commit
9ff7c5524f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/editor/connections_dialog.cpp

+ 1 - 0
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);