Skip to content
Permalink
Browse files

clear layer rendering cache after appling a subset string

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13077 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 19, 2010
1 parent 22962ed commit 10468a91c39719d3e2225d3e9b86f01d3d6d26d9
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/qgsvectorlayer.cpp
@@ -1481,6 +1481,9 @@ bool QgsVectorLayer::setSubsetString( QString subset )
mDataSource = mDataProvider->dataSourceUri();
updateExtents();

if ( res )
setCacheImage( 0 );

return res;
}

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


mDataProvider->updateExtents();
mDataProvider->updateFeatureCount();

0 comments on commit 10468a9

Please sign in to comment.
You can’t perform that action at this time.