Element::Thumbnail WIP

This commit is contained in:
Laurent Trinques
2022-05-16 08:59:25 +02:00
parent db8c76c184
commit daeec311b2
7 changed files with 16 additions and 9 deletions

View File

@@ -467,14 +467,16 @@ const QDomDocument ElementScene::toXml(bool all_parts)
auto type_ = m_element_data.m_type;
if (type_ == ElementData::Slave ||
type_ == ElementData::Master ||
type_ == ElementData::Terminale)
type_ == ElementData::Terminale ||
type_ == ElementData::Thumbnail)
{
root.appendChild(m_element_data.kindInfoToXml(xml_document));
}
if(type_ == ElementData::Simple ||
type_ == ElementData::Master ||
type_ == ElementData::Terminale)
type_ == ElementData::Terminale||
type_ == ElementData::Thumbnail)
{
QDomElement element_info = xml_document.createElement("elementInformations");
m_element_data.m_informations.toXml(element_info, "elementInformation");