Fix CreateDialog returning wrong type

This commit is contained in:
kobewi 2025-12-03 15:28:24 +01:00
parent 2ecefada8d
commit 234a255249
3 changed files with 3 additions and 3 deletions

View file

@ -492,7 +492,7 @@ void ScriptCreateDialog::_file_selected(const String &p_file) {
}
void ScriptCreateDialog::_create() {
parent_name->set_text(select_class->get_selected_type().get_slicec(' ', 0));
parent_name->set_text(select_class->get_selected_type());
_parent_name_changed(parent_name->get_text());
}