Skip to content

Commit

Permalink
Fix for ticket #239 (selected polygons lost their boundary). Needed to
Browse files Browse the repository at this point in the history
do different things for lines and polygons


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5705 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Aug 17, 2006
1 parent cec5c94 commit 37afa70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgssinglesymbolrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ void QgsSingleSymbolRenderer::renderFeature(QPainter * p, QgsFeature * f, QPixma
{
QPen pen=mSymbol->pen();
pen.setWidthF ( widthScale * pen.width() );
pen.setColor(mSelectionColor);
if (mVectorType == QGis::Line)
pen.setColor(mSelectionColor);
QBrush brush=mSymbol->brush();
brush.setColor(mSelectionColor);
p->setPen(pen);
Expand Down

0 comments on commit 37afa70

Please sign in to comment.