diff options
Diffstat (limited to 'src/xmlparser.cc')
-rw-r--r-- | src/xmlparser.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xmlparser.cc b/src/xmlparser.cc index e410f88..47e217c 100644 --- a/src/xmlparser.cc +++ b/src/xmlparser.cc @@ -91,6 +91,9 @@ void XmlParser::endTag(std::string name) if(name == "attribute") { - node->data.attributes[attr_name] = cdata; + if(attr_name != "dragged") // do not persist 'dragged' attribute + { + node->data.attributes[attr_name] = cdata; + } } } |