mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
xml bugfix
This commit is contained in:
parent
10d234f6c7
commit
f4c52b8178
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ bool SerializableItem_Map::readElement(QXmlStreamReader *xml)
|
||||||
if (currentItem) {
|
if (currentItem) {
|
||||||
if (currentItem->readElement(xml))
|
if (currentItem->readElement(xml))
|
||||||
currentItem = 0;
|
currentItem = 0;
|
||||||
|
return false;
|
||||||
} else if (firstItem)
|
} else if (firstItem)
|
||||||
firstItem = false;
|
firstItem = false;
|
||||||
else if (xml->isEndElement() && (xml->name() == itemType))
|
else if (xml->isEndElement() && (xml->name() == itemType))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue