Skip to content

Commit

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

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14936 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Dec 17, 2010
1 parent 9371e62 commit 40d89d1
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 40d89d1

Please sign in to comment.