mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
fix: do not add "kindInformations" for thumbnail-elements
This commit is contained in:
@@ -463,8 +463,7 @@ const QDomDocument ElementScene::toXml(bool all_parts)
|
|||||||
auto type_ = m_element_data.m_type;
|
auto type_ = m_element_data.m_type;
|
||||||
if (type_ == ElementData::Slave ||
|
if (type_ == ElementData::Slave ||
|
||||||
type_ == ElementData::Master ||
|
type_ == ElementData::Master ||
|
||||||
type_ == ElementData::Terminal ||
|
type_ == ElementData::Terminal)
|
||||||
type_ == ElementData::Thumbnail)
|
|
||||||
{
|
{
|
||||||
root.appendChild(m_element_data.kindInfoToXml(xml_document));
|
root.appendChild(m_element_data.kindInfoToXml(xml_document));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user