summaryrefslogtreecommitdiffstats
path: root/scene/resources/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/theme.cpp')
-rw-r--r--scene/resources/theme.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/resources/theme.cpp b/scene/resources/theme.cpp
index d2a1519d49..d57a0f6b38 100644
--- a/scene/resources/theme.cpp
+++ b/scene/resources/theme.cpp
@@ -1240,6 +1240,11 @@ void Theme::get_type_list(List<StringName> *p_list) const {
types.insert(E.key);
}
+ // Variations.
+ for (const KeyValue<StringName, StringName> &E : variation_map) {
+ types.insert(E.key);
+ }
+
for (const StringName &E : types) {
p_list->push_back(E);
}