mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
minor change, don't increase autonum if conductor isn't a "Multi"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2337 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -58,7 +58,8 @@ void ConductorAutoNumerotation::setConductor(Conductor *c) {
|
||||
void ConductorAutoNumerotation::numerate() {
|
||||
if (!conductor_) return;
|
||||
if (conductor_list.size() >= 1 ) numeratePotential();
|
||||
else numerateNewConductor();
|
||||
else if (conductor_ -> properties().type == ConductorProperties::Multi) numerateNewConductor();
|
||||
else return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user