Skip to content

Commit

Permalink
Fix #10560 (wrong feature count)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 13, 2014
1 parent 840d5c5 commit f581e20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/layertree/qgslayertreemodel.cpp
Expand Up @@ -545,6 +545,9 @@ void QgsLayerTreeModel::layerNeedsUpdate()

QModelIndex index = node2index( nodeLayer );
emit dataChanged( index, index );

if ( nodeLayer->customProperty( "showFeatureCount" ).toInt() )
refreshLayerSymbology( nodeLayer );
}


Expand Down

0 comments on commit f581e20

Please sign in to comment.