Use a more specific type for AcceptDialog register_text_enter

This commit is contained in:
Aaron Franke 2021-05-21 04:21:45 -04:00
parent 5d9cab3aeb
commit bc5c10e0f8
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
3 changed files with 3 additions and 3 deletions

View file

@ -155,7 +155,7 @@ bool AcceptDialog::has_autowrap() {
return label->has_autowrap();
}
void AcceptDialog::register_text_enter(Node *p_line_edit) {
void AcceptDialog::register_text_enter(Control *p_line_edit) {
ERR_FAIL_NULL(p_line_edit);
LineEdit *line_edit = Object::cast_to<LineEdit>(p_line_edit);
if (line_edit) {