clear layer rendering cache after appling a subset string

git-svn-id: http://svn.osgeo.org/qgis/trunk@13077 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2010-03-19 12:39:08 +00:00
parent 4405f5f3eb
commit 1cef6daa2a

View File

@ -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();