diff --git a/sources/qetgraphicsitem/customelement.cpp b/sources/qetgraphicsitem/customelement.cpp index 2cf06e0fa..cbe8196d5 100644 --- a/sources/qetgraphicsitem/customelement.cpp +++ b/sources/qetgraphicsitem/customelement.cpp @@ -310,7 +310,7 @@ void CustomElement::parseLabels() { DiagramContext &dc = this->rElementInformations(); //if there is a formula to assign, assign it if (!(location().project()->elementAutoNumCurrentFormula().isEmpty()) && (location().project()->elementAutoNumCurrentFormula() != "") && - (this->linkType()!=Element::Slave) && (this->linkType()!=Element::Terminale)) { + (this->linkType()!=Element::Slave)) { QString formula = location().project()->elementAutoNumCurrentFormula(); this->setPrefix(prefix); dc.addValue("label", formula);