Fix descriptions of custom types in CreateDialog

This commit is contained in:
kobewi
2026-01-13 22:55:45 +01:00
parent 79033f1754
commit 6a453b521c

View File

@@ -670,6 +670,9 @@ Variant CreateDialog::instantiate_selected() {
void CreateDialog::_item_selected() {
String name = get_selected_type();
if (name.is_resource_file()) {
name = search_options->get_selected()->get_text(0).get_slicec(' ', 0);
}
select_type(name, false);
}