Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Mar 19, 2010
1 parent 22962ed commit 10468a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -1481,6 +1481,9 @@ bool QgsVectorLayer::setSubsetString( QString subset )
mDataSource = mDataProvider->dataSourceUri();
updateExtents();

if ( res )
setCacheImage( 0 );

return res;
}

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


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

Expand Down

0 comments on commit 10468a9

Please sign in to comment.