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

@@ -625,7 +625,7 @@ QDomDocument Diagram::toXml(bool whole_content) {
// proprietes du schema
if (whole_content) {
// TODO: compare with old version
border_and_titleblock.titleBlockToXml(document);
border_and_titleblock.titleBlockToXml(dom_root);
border_and_titleblock.borderToXml(dom_root);
// Default conductor properties
@@ -940,7 +940,7 @@ bool Diagram::fromXml(QDomElement &document, QPointF position, bool consider_inf
}
// Load border and titleblock
border_and_titleblock.titleBlockFromXml(root);
border_and_titleblock.titleBlockFromXml(root);
border_and_titleblock.borderFromXml(root);
// Find the element "defaultconductor".