fix: do not add "kindInformations" for thumbnail-elements

This commit is contained in:
plc-user
2025-02-17 09:48:51 +01:00
parent 67112bf8e5
commit 0f647a5c38

View File

@@ -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));
} }