Element editor : add terminal properties editable

This commit is contained in:
joshua
2021-02-16 21:39:09 +01:00
parent 444f62a1f8
commit be2067148e
4 changed files with 65 additions and 9 deletions

View File

@@ -465,8 +465,9 @@ const QDomDocument ElementScene::toXml(bool all_parts)
root.appendChild(m_element_data.m_names_list.toXml(xml_document));
auto type_ = m_element_data.m_type;
if (type_ == ElementData::Slave ||
type_ == ElementData::Master)
if (type_ == ElementData::Slave ||
type_ == ElementData::Master ||
type_ == ElementData::Terminale)
{
root.appendChild(m_element_data.kindInfoToXml(xml_document));
}