Fixed an issue where the color scheme configuration was parsed after the variant configuration.

This commit is contained in:
Leon Styhre 2022-10-31 21:02:53 +01:00
parent 01e6ffa14e
commit f1bd530963

View file

@ -501,8 +501,8 @@ void ThemeData::loadFile(const std::map<std::string, std::string>& sysDataMap,
parseFeatures(root);
if (!mLegacyTheme) {
parseVariants(root);
parseColorSchemes(root);
parseVariants(root);
parseAspectRatios(root);
}
}
@ -1019,8 +1019,8 @@ void ThemeData::parseIncludes(const pugi::xml_node& root)
parseFeatures(theme);
if (!mLegacyTheme) {
parseVariants(theme);
parseColorSchemes(theme);
parseVariants(theme);
parseAspectRatios(theme);
}