Minor fix : dynamic text can't have 'label' info if formula is set

When create a new dynamic element text item, on an element which have a
formula, dynamic text can't have 'label' for source of text.
This commit is contained in:
Claveau Joshua
2020-04-10 15:02:18 +02:00
parent 5c6f556ad3
commit 41541dde2c

View File

@@ -1425,6 +1425,7 @@ void Element::setElementInformations(DiagramContext dc)
DiagramContext old_info = m_element_informations;
m_element_informations = dc;
m_element_informations.addValue("label", actualLabel()); //Update the label if there is a formula
emit elementInfoChange(old_info, m_element_informations);
}