Skip to content

Commit a9769d4

Browse files
committed
Followup 883e51d
1 parent 883e51d commit a9769d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsvectorlayerrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ void QgsVectorLayerRenderer::drawRendererV2Levels( QgsFeatureIterator& fit )
495495
return;
496496
}
497497

498-
bool sel = mContext.showSelection() && mSelectedFeatureIds.contains( fet.id() );
498+
bool sel = mContext.showSelection() && mSelectedFeatureIds.contains( fit->id() );
499499
// maybe vertex markers should be drawn only during the last pass...
500500
bool drawMarker = ( mDrawVertexMarkers && mContext.drawEditingInformation() && ( !mVertexMarkerOnlyForSelection || sel ) );
501501

0 commit comments

Comments
 (0)