let conductor textitem export to xml, because the read is also made from it

This commit is contained in:
Martin Marmsoler
2020-10-10 12:25:58 +02:00
parent 497673d83b
commit 0dfe0c1613
3 changed files with 29 additions and 21 deletions

View File

@@ -1032,13 +1032,7 @@ QDomElement Conductor::toXml(QDomDocument & doc) const {
dom_element.appendChild(node);
}
if(m_text_item->wasMovedByUser())
{
dom_element.appendChild(createXmlProperty(doc, "userx", m_text_item->pos().x()));
dom_element.appendChild(createXmlProperty(doc, "usery", m_text_item->pos().y()));
}
if(m_text_item->wasRotateByUser())
dom_element.appendChild(createXmlProperty(doc, "rotation", m_text_item->rotation()));
m_text_item->toXml(doc, dom_element);
return(dom_element);
}