[qet] [4683] Add Autonum for terminals element |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4683
Author: scorpio810
Date: 2016-09-03 20:22:14 +0200 (Sat, 03 Sep 2016)
Log Message:
-----------
Add Autonum for terminals element
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/customelement.cpp
Modified: trunk/sources/qetgraphicsitem/customelement.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/customelement.cpp 2016-09-03 11:00:48 UTC (rev 4682)
+++ trunk/sources/qetgraphicsitem/customelement.cpp 2016-09-03 18:22:14 UTC (rev 4683)
@@ -310,7 +310,7 @@
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);