Skip to content

Commit

Permalink
[Plugin Manager] Display proper plugin count
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Jun 25, 2013
1 parent cd676e3 commit 9621436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginsortfilterproxymodel.cpp
Expand Up @@ -87,7 +87,7 @@ int QgsPluginSortFilterProxyModel::countWithCurrentStatus( )
for ( int i = 0; i < sourceModel()->rowCount(); ++i )
{
QModelIndex idx = sourceModel()->index( i, 0 );
if ( filterByStatus( idx ) )
if ( filterByStatus( idx ) && sourceModel()->data( idx, SPACER_ROLE ).toString().isEmpty() )
{
result++ ;
}
Expand Down

0 comments on commit 9621436

Please sign in to comment.