Added support for including theme files from within the colorScheme and fontSize tag pairs

This commit is contained in:
Leon Styhre 2024-09-01 11:42:38 +02:00
parent 63e9586d88
commit 4d245c955f

View file

@ -1889,8 +1889,10 @@ void ThemeData::parseColorSchemes(const pugi::xml_node& root)
<< "\" is not defined in capabilities.xml";
}
if (mSelectedColorScheme == viewKey)
if (mSelectedColorScheme == viewKey) {
parseVariables(node);
parseIncludes(node);
}
}
}
}
@ -1926,8 +1928,10 @@ void ThemeData::parseFontSizes(const pugi::xml_node& root)
<< "\" is not defined in capabilities.xml";
}
if (mSelectedFontSize == viewKey)
if (mSelectedFontSize == viewKey) {
parseVariables(node);
parseIncludes(node);
}
}
}
}