Browse Source

Merge pull request #32849 from jahd2602/fix-26362

Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
Rémi Verschelde 5 years ago
parent
commit
d33af87b61
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/connections_dialog.cpp

+ 1 - 0
editor/connections_dialog.cpp

@@ -417,6 +417,7 @@ ConnectDialog::ConnectDialog() {
 
 
 	dst_method = memnew(LineEdit);
 	dst_method = memnew(LineEdit);
 	dst_method->set_h_size_flags(SIZE_EXPAND_FILL);
 	dst_method->set_h_size_flags(SIZE_EXPAND_FILL);
+	dst_method->connect("text_entered", this, "_builtin_text_entered");
 	dstm_hb->add_child(dst_method);
 	dstm_hb->add_child(dst_method);
 
 
 	advanced = memnew(CheckButton);
 	advanced = memnew(CheckButton);