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@5705 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Aug 17, 2006
1 parent f5433e8 commit 336ae2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgssinglesymbolrenderer.cpp
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 336ae2a

Please sign in to comment.