Skip to content
Permalink
Browse files
Fix for ticket #239 (selected polygons lost their boundary). Needed to
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 336ae2a8e4ccc13c7a3ce4d59274a59d0f155353
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgssinglesymbolrenderer.cpp
@@ -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);

0 comments on commit 336ae2a

Please sign in to comment.