Skip to content

Commit 343696a

Browse files
committed
Dismiss render cache when selection is modified (Fix #8346)
1 parent 99d82c2 commit 343696a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsvectorlayer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,8 @@ void QgsVectorLayer::modifySelection( QgsFeatureIds selectIds, QgsFeatureIds des
788788
mSelectedFeatureIds -= deselectIds;
789789
mSelectedFeatureIds += selectIds;
790790

791+
setCacheImage( 0 );
792+
791793
emit selectionChanged( selectIds, deselectIds - intersectingIds, false );
792794
}
793795

0 commit comments

Comments
 (0)