Commit d12da4b8 authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Allow for copy and paste on pick tab

Just makes sure the boundary color is correctly set in the copy
constructor called by clone, for the sector.
parent 4c61c8e8
......@@ -640,6 +640,7 @@ Shape2DSector::Shape2DSector(const Shape2DSector &sector)
: Shape2D(), m_innerRadius(sector.m_innerRadius),
m_outerRadius(sector.m_outerRadius), m_startAngle(sector.m_startAngle),
m_endAngle(sector.m_endAngle), m_center(sector.m_center) {
setColor(sector.getColor());
resetBoundingRect();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment