Skip to content

Commit f581e20

Browse files
committedJun 13, 2014
Fix #10560 (wrong feature count)
1 parent 840d5c5 commit f581e20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/layertree/qgslayertreemodel.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,9 @@ void QgsLayerTreeModel::layerNeedsUpdate()
545545

546546
QModelIndex index = node2index( nodeLayer );
547547
emit dataChanged( index, index );
548+
549+
if ( nodeLayer->customProperty( "showFeatureCount" ).toInt() )
550+
refreshLayerSymbology( nodeLayer );
548551
}
549552

550553

0 commit comments

Comments
 (0)
Please sign in to comment.