From 964ba94109729eb86389967d41b5addf198f94dc Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 3 Sep 2016 18:22:14 +0000 Subject: [PATCH] Add Autonum for terminals element git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4683 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qetgraphicsitem/customelement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);