mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user