diff options
author | Jairo Honorio <registrofx@gmail.com> | 2019-10-15 05:44:26 -0300 |
---|---|---|
committer | Jairo Honorio <registrofx@gmail.com> | 2019-10-15 05:49:42 -0300 |
commit | 7db29919f22e43ef90b3cd54feba477e9ca629a5 (patch) | |
tree | 4de822f446c4f1a08e3125e44b4ece0ca10ba76d | |
parent | 1fed266bf5452b30376db62495f4985f6975f2c1 (diff) |
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
-rw-r--r-- | editor/connections_dialog.cpp | 1 |
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); |