mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 23:30:14 -04:00
Added to count identity items on People
This commit is contained in:
parent
17dc7c7dfc
commit
01f3db70d3
2 changed files with 65 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue