From 0f647a5c38eb3aa1add6a5c884beb25b5b201184 Mon Sep 17 00:00:00 2001 From: plc-user <74435298+plc-user@users.noreply.github.com> Date: Mon, 17 Feb 2025 09:48:51 +0100 Subject: [PATCH] fix: do not add "kindInformations" for thumbnail-elements --- sources/editor/elementscene.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/editor/elementscene.cpp b/sources/editor/elementscene.cpp index 93ae7351e..a9a64b65b 100644 --- a/sources/editor/elementscene.cpp +++ b/sources/editor/elementscene.cpp @@ -463,8 +463,7 @@ const QDomDocument ElementScene::toXml(bool all_parts) auto type_ = m_element_data.m_type; if (type_ == ElementData::Slave || type_ == ElementData::Master || - type_ == ElementData::Terminal || - type_ == ElementData::Thumbnail) + type_ == ElementData::Terminal) { root.appendChild(m_element_data.kindInfoToXml(xml_document)); }