mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
new method to load properties must be used, otherwise nothing valid will be read
This commit is contained in:
@@ -1425,7 +1425,11 @@ void QETProject::readDefaultPropertiesXml(QDomDocument &xml_project)
|
||||
{
|
||||
XRefProperties xrp;
|
||||
xrp.fromXml(elmt);
|
||||
m_default_xref_properties.insert(elmt.attribute("type"), xrp);
|
||||
QString type;
|
||||
if (PropertiesInterface::propertyString(elmt, "type", &type) == PropertiesInterface::PropertyFlags::Success)
|
||||
m_default_xref_properties.insert(type, xrp);
|
||||
else
|
||||
qDebug() << "xref Property was not added to m_default_xref_properties.";
|
||||
}
|
||||
}
|
||||
if (!conds_autonums.isNull())
|
||||
|
||||
Reference in New Issue
Block a user