From d68ab7c874908f1ee890c10ec593735c181d78f8 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 24 Apr 2024 17:38:09 +0200 Subject: [PATCH] Register text enter for script base class --- editor/script_create_dialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index cd043e165e0..c12f95753fa 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -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);