mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed a bug that skindesigner is not shown after first selection
This commit is contained in:
@@ -176,7 +176,12 @@ void cXmlParser::DeleteDocument(void) {
|
||||
*********************************************************************/
|
||||
|
||||
string cXmlParser::GetPath(string xmlFile) {
|
||||
return *cString::sprintf("%s%s/xmlfiles/%s", *config.skinPath, Setup.OSDTheme, xmlFile.c_str());
|
||||
string activeSkin = Setup.OSDSkin;
|
||||
string theme = "default";
|
||||
if (!activeSkin.compare("skindesigner")) {
|
||||
theme = Setup.OSDTheme;
|
||||
}
|
||||
return *cString::sprintf("%s%s/xmlfiles/%s", *config.skinPath, theme.c_str(), xmlFile.c_str());
|
||||
}
|
||||
|
||||
void cXmlParser::ParseGlobalColors(xmlNodePtr node) {
|
||||
|
Reference in New Issue
Block a user