瀏覽代碼

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 年之前
父節點
當前提交
d33af87b61
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);