revert saving title block properties in it's own child, because it makes more sense directly in the diagram

This commit is contained in:
Martin Marmsoler
2020-09-28 16:29:09 +02:00
parent 48cce42cfe
commit adc28d32b9
6 changed files with 33 additions and 33 deletions

View File

@@ -999,7 +999,7 @@ QDomElement Conductor::toXml(QDomDocument & doc) const {
foreach(ConductorSegment *segment, segmentsList())
{
current_segment = doc.createElement("segment");
current_segment.appendChild(createXmlProperty(doc, "orientation", segment->isHorizontal()));
current_segment.appendChild(createXmlProperty(doc, "orientation", segment->isHorizontal() ? "horizontal": "vertical"));
current_segment.appendChild(createXmlProperty(doc, "length", segment -> length()));
dom_element.appendChild(current_segment);
}