Stop exposing external theme item properties

This commit is contained in:
Michael Alexsander 2026-01-26 11:49:03 -03:00
parent 89cea14398
commit d061d9bac3
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
2 changed files with 8 additions and 4 deletions

View file

@ -407,6 +407,10 @@ void Control::_get_property_list(List<PropertyInfo> *p_list) const {
p_list->push_back(PropertyInfo(Variant::NIL, GNAME("Theme Overrides", "theme_override_"), PROPERTY_HINT_NONE, "theme_override_", PROPERTY_USAGE_GROUP));
for (const ThemeDB::ThemeItemBind &E : theme_items) {
if (E.external) {
continue; // External items are not meant to be exposed.
}
uint32_t usage = PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_CHECKABLE;
switch (E.data_type) {