mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
Modifie the text item of a conductor directly on a diagram also change the value of formula and label of the conductor property.
The change is apply for every conductors in the same potential git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4814 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -121,9 +121,8 @@ void ConductorAutoNumerotation::numeratePotential()
|
||||
ConductorProperties cp = m_conductor -> properties();
|
||||
cp.text = text_list.first();
|
||||
cp.m_formula = formula_list.first();
|
||||
m_conductor->setProperties(cp);
|
||||
m_conductor->rSequenceNum() = conductor_list.first()->sequenceNum();
|
||||
m_conductor->setText(text_list.first());
|
||||
m_conductor->setProperties(cp);
|
||||
}
|
||||
//the texts isn't identicals
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user