Merge pull request #88305 from Ovnuniarchos/editor_properties_fixup

[3.x] Fix EditorPropertyLocale connecting to inexistent signal `text_submitted`.
This commit is contained in:
lawnjelly 2024-03-08 14:15:55 +00:00 committed by GitHub
commit 6c35b48986
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -370,7 +370,7 @@ EditorPropertyLocale::EditorPropertyLocale() {
add_child(locale_hb); add_child(locale_hb);
locale = memnew(LineEdit); locale = memnew(LineEdit);
locale_hb->add_child(locale); locale_hb->add_child(locale);
locale->connect("text_submitted", this, "_locale_selected"); locale->connect("text_entered", this, "_locale_selected");
locale->connect("focus_exited", this, "_locale_focus_exited"); locale->connect("focus_exited", this, "_locale_focus_exited");
locale->set_h_size_flags(SIZE_EXPAND_FILL); locale->set_h_size_flags(SIZE_EXPAND_FILL);