fixed bug that menulists are not read if no currentelement is defined

This commit is contained in:
louis 2015-07-10 15:55:49 +02:00
parent 32d96c5439
commit b188f1f08a
2 changed files with 6 additions and 1 deletions

View File

@ -384,3 +384,8 @@ Version 0.5.3
Version 0.6.0
- fixed bug that menulists are not read if no currentelement
is defined
Version 0.6.1

View File

@ -247,7 +247,7 @@ void cXmlParser::ParseViewList(cTemplateView *subView) {
currentElement->SetGlobals(globals);
currentElement->SetParameters(attribsCur);
if (!LevelDown())
return;
continue;
do {
if (!CheckNodeName("areacontainer") && !CheckNodeName("area") && !CheckNodeName("areascroll")) {
esyslog("skindesigner: invalid tag \"%s\" in viewelement", NodeName());