diff --git a/sources/editor/elementscene.cpp b/sources/editor/elementscene.cpp index c5009b62a..86443a38b 100644 --- a/sources/editor/elementscene.cpp +++ b/sources/editor/elementscene.cpp @@ -414,8 +414,8 @@ const QDomDocument ElementScene::toXml(bool all_parts) { QRectF size= elementSceneGeometricRect(); - // if the element doesn't contains the origin point of the scene - // we move the element to the origin for solve this default before saving + // if the element doesn't contain the origin point of the scene + // we move the element to the origin to solve this default before saving if (!size.contains(0,0) && all_parts) { centerElementToOrigine(); @@ -469,9 +469,9 @@ const QDomDocument ElementScene::toXml(bool all_parts) root.appendChild(m_element_data.kindInfoToXml(xml_document)); } - if(type_ == ElementData::Simple || - type_ == ElementData::Master || - type_ == ElementData::Terminale|| + if (type_ == ElementData::Simple || + type_ == ElementData::Master || + type_ == ElementData::Terminale || type_ == ElementData::Thumbnail) { QDomElement element_info = xml_document.createElement("elementInformations");