Skip to content

Commit 1cef6da

Browse files
author
jef
committed
clear layer rendering cache after appling a subset string
git-svn-id: http://svn.osgeo.org/qgis/trunk@13077 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4405f5f commit 1cef6da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/qgsvectorlayer.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,9 @@ bool QgsVectorLayer::setSubsetString( QString subset )
14811481
mDataSource = mDataProvider->dataSourceUri();
14821482
updateExtents();
14831483

1484+
if ( res )
1485+
setCacheImage( 0 );
1486+
14841487
return res;
14851488
}
14861489

@@ -3461,7 +3464,6 @@ bool QgsVectorLayer::commitChanges()
34613464
emit editingStopped();
34623465
}
34633466

3464-
34653467
mDataProvider->updateExtents();
34663468
mDataProvider->updateFeatureCount();
34673469

0 commit comments

Comments
 (0)