[qet] [2337] minor change, don't increase autonum if conductor isn't a "Multi" |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2337
Author: blacksun
Date: 2013-06-24 11:36:05 +0200 (Mon, 24 Jun 2013)
Log Message:
-----------
minor change, don't increase autonum if conductor isn't a "Multi"
Modified Paths:
--------------
trunk/sources/conductorautonumerotation.cpp
Modified: trunk/sources/conductorautonumerotation.cpp
===================================================================
--- trunk/sources/conductorautonumerotation.cpp 2013-06-24 07:31:48 UTC (rev 2336)
+++ trunk/sources/conductorautonumerotation.cpp 2013-06-24 09:36:05 UTC (rev 2337)
@@ -58,7 +58,8 @@
void ConductorAutoNumerotation::numerate() {
if (!conductor_) return;
if (conductor_list.size() >= 1 ) numeratePotential();
- else numerateNewConductor();
+ else if (conductor_ -> properties().type == ConductorProperties::Multi) numerateNewConductor();
+ else return;
}
/**