Merge pull request #114934 from KoBeWi/docustomentation

Fix descriptions of custom types in CreateDialog
This commit is contained in:
Rémi Verschelde
2026-01-13 23:43:51 +01:00

View File

@@ -670,6 +670,9 @@ Variant CreateDialog::instantiate_selected() {
void CreateDialog::_item_selected() { void CreateDialog::_item_selected() {
String name = get_selected_type(); 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); select_type(name, false);
} }