mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
fix bug about default conductor rotation text with an existing potential
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2206 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -136,7 +136,7 @@ void ConductorAutoNumerotation::numeratePotential() {
|
|||||||
foreach (const Conductor *cc, conductor_list) strl<<(cc->text());
|
foreach (const Conductor *cc, conductor_list) strl<<(cc->text());
|
||||||
//the texts is identicals
|
//the texts is identicals
|
||||||
if (eachIsEqual(strl)) {
|
if (eachIsEqual(strl)) {
|
||||||
ConductorProperties cp;
|
ConductorProperties cp = conductor_ -> properties();
|
||||||
cp.text = strl.at(0);
|
cp.text = strl.at(0);
|
||||||
conductor_ -> setProperties(cp);
|
conductor_ -> setProperties(cp);
|
||||||
conductor_ -> setText(strl.at(0));
|
conductor_ -> setText(strl.at(0));
|
||||||
|
|||||||
Reference in New Issue
Block a user