For common properties for every conductors at the same potential,

add color and size type on related Potential Conductors


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4290 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2015-12-23 22:13:03 +00:00
parent 2286036e67
commit 47996a8028

View File

@@ -1220,6 +1220,8 @@ void Conductor::setProperties(const ConductorProperties &properties)
{
ConductorProperties other_properties = other_conductor->properties();
other_properties.text = properties_.text;
other_properties.color = properties_.color;
other_properties.cond_size = properties_.cond_size;
other_properties.m_function = properties_.m_function;
other_properties.m_tension_protocol = properties_.m_tension_protocol;
other_conductor->setProperties(other_properties);