mirror of
https://github.com/godotengine/godot
synced 2024-09-04 22:18:28 +00:00
Merge pull request #91113 from KoBeWi/acceptator
Register text enter for script base class
This commit is contained in:
commit
4bca2d8bc6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue