Skip to content

Commit

Permalink
Merge pull request #91113 from KoBeWi/acceptator
Browse files Browse the repository at this point in the history
Register text enter for script base class
  • Loading branch information
akien-mga committed Apr 24, 2024
2 parents f4a1c39 + d68ab7c commit 4bca2d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/script_create_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ ScriptCreateDialog::ScriptCreateDialog() {
parent_name->connect("text_changed", callable_mp(this, &ScriptCreateDialog::_parent_name_changed));
parent_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
hb->add_child(parent_name);
register_text_enter(parent_name);
parent_search_button = memnew(Button);
parent_search_button->connect("pressed", callable_mp(this, &ScriptCreateDialog::_browse_class_in_tree));
hb->add_child(parent_search_button);
Expand Down

0 comments on commit 4bca2d8

Please sign in to comment.