Explorar o código

Merge pull request #32849 from jahd2602/fix-26362

Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
d33af87b61
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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->set_h_size_flags(SIZE_EXPAND_FILL);
+	dst_method->connect("text_entered", this, "_builtin_text_entered");
 	dstm_hb->add_child(dst_method);
 
 	advanced = memnew(CheckButton);