Fix width of line decoration for selected features (ticket #7410)

This commit is contained in:
Sandro Santilli 2013-05-30 20:44:40 +02:00
parent 792ac5a433
commit 3f3ce480cf

View File

@ -1092,7 +1092,7 @@ void QgsLineDecorationSymbolLayerV2::startRender( QgsSymbolV2RenderContext& cont
QColor selColor = context.renderContext().selectionColor();
if ( ! selectionIsOpaque )
selColor.setAlphaF( context.alpha() );
mSelPen.setWidth( context.outputLineWidth( width ) );
mSelPen.setWidth( width ); //context.outputLineWidth( width ) );
mSelPen.setColor( selColor );
}