summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJairo Honorio <registrofx@gmail.com>2019-10-15 05:44:26 -0300
committerJairo Honorio <registrofx@gmail.com>2019-10-15 05:49:42 -0300
commit7db29919f22e43ef90b3cd54feba477e9ca629a5 (patch)
tree4de822f446c4f1a08e3125e44b4ece0ca10ba76d
parent1fed266bf5452b30376db62495f4985f6975f2c1 (diff)
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
-rw-r--r--editor/connections_dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp
index 1e5eabc24e..f5a01dfb04 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);