Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Little fix for more efficient refresh after editing a lot of features…
… (e.g. deleting many features at once)

git-svn-id: http://svn.osgeo.org/qgis/trunk@14936 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Dec 17, 2010
1 parent b78d855 commit 7fe2e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Expand Up @@ -529,7 +529,7 @@ void QgsLegendLayer::layerNameChanged()

void QgsLegendLayer::updateAfterLayerModification( bool onlyGeomChanged )
{
if ( onlyGeomChanged )
if ( onlyGeomChanged || !mShowFeatureCount )
{
return;
}
Expand Down

0 comments on commit 7fe2e0e

Please sign in to comment.