[qet] [4290] For common properties for every conductors at the same potential, |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4290
Author: scorpio810
Date: 2015-12-23 23:13:03 +0100 (Wed, 23 Dec 2015)
Log Message:
-----------
For common properties for every conductors at the same potential,
add color and size type on related Potential Conductors
Modified Paths:
--------------
trunk/sources/qetgraphicsitem/conductor.cpp
Modified: trunk/sources/qetgraphicsitem/conductor.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/conductor.cpp 2015-12-23 19:27:51 UTC (rev 4289)
+++ trunk/sources/qetgraphicsitem/conductor.cpp 2015-12-23 22:13:03 UTC (rev 4290)
@@ -1220,6 +1220,8 @@
{
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);