Added to count identity items on People

This commit is contained in:
defnax 2015-11-17 15:58:22 +01:00
parent 17dc7c7dfc
commit 01f3db70d3
2 changed files with 65 additions and 7 deletions

View file

@ -505,7 +505,13 @@ void IdDialog::insertIdList(uint32_t token)
ui->idTreeWidget->addTopLevelItem(item);
}
}
/* count items */
for( int i = 0; i < ui->idTreeWidget->topLevelItemCount(); ++i )
{
ui->label_count->setText( "(" + QString::number(i) + ")" );
}
filterIds();
updateSelection();