From 6a453b521c93842666570140cbfe9c4a86b00340 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 13 Jan 2026 22:55:45 +0100 Subject: [PATCH] Fix descriptions of custom types in CreateDialog --- editor/gui/create_dialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/gui/create_dialog.cpp b/editor/gui/create_dialog.cpp index a6fdf97756..63261da5ce 100644 --- a/editor/gui/create_dialog.cpp +++ b/editor/gui/create_dialog.cpp @@ -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); }