From 7db29919f22e43ef90b3cd54feba477e9ca629a5 Mon Sep 17 00:00:00 2001 From: Jairo Honorio Date: Tue, 15 Oct 2019 05:44:26 -0300 Subject: [PATCH] Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield. --- editor/connections_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index 1e5eabc24ec..f5a01dfb045 100644 --- a/editor/connections_dialog.cpp +++ b/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);