Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.

This commit is contained in:
Jairo Honorio 2019-10-15 05:44:26 -03:00
parent 1fed266bf5
commit 7db29919f2

View file

@ -417,6 +417,7 @@ ConnectDialog::ConnectDialog() {
dst_method = memnew(LineEdit); dst_method = memnew(LineEdit);
dst_method->set_h_size_flags(SIZE_EXPAND_FILL); dst_method->set_h_size_flags(SIZE_EXPAND_FILL);
dst_method->connect("text_entered", this, "_builtin_text_entered");
dstm_hb->add_child(dst_method); dstm_hb->add_child(dst_method);
advanced = memnew(CheckButton); advanced = memnew(CheckButton);