Skip to content

Commit 336ae2a

Browse files
author
g_j_m
committed
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
1 parent f5433e8 commit 336ae2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/qgssinglesymbolrenderer.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ void QgsSingleSymbolRenderer::renderFeature(QPainter * p, QgsFeature * f, QPixma
109109
{
110110
QPen pen=mSymbol->pen();
111111
pen.setWidthF ( widthScale * pen.width() );
112-
pen.setColor(mSelectionColor);
112+
if (mVectorType == QGis::Line)
113+
pen.setColor(mSelectionColor);
113114
QBrush brush=mSymbol->brush();
114115
brush.setColor(mSelectionColor);
115116
p->setPen(pen);

0 commit comments

Comments
 (0)