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@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
Original file line number Diff line number Diff line change
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.