diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index bc7e475bc40..87c4dabd8d0 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -3119,6 +3119,11 @@ void EditorInspector::update_tree() { StringName propname = property_prefix + p.name; bool found = false; + // Small hack for theme_overrides. They are listed under Control, but come from another class. + if (classname == "Control" && p.name.begins_with("theme_override_")) { + classname = get_edited_object()->get_class(); + } + // Search for the property description in the cache. HashMap>::Iterator E = doc_info_cache.find(classname); if (E) {