mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-18 19:39:30 -04:00
unselect all IDs when no circle is selected
This commit is contained in:
parent
456a882343
commit
61c7da7e2d
2 changed files with 7 additions and 3 deletions
|
@ -503,6 +503,7 @@ void IdDialog::circle_selected()
|
|||
mStateHelper->setWidgetEnabled(ui->pushButton_editCircle, false);
|
||||
ui->pushButton_editCircle->setText(tr("Show details")) ;
|
||||
ui->pushButton_editCircle->setEnabled(false) ;
|
||||
mark_matching_tree(ui->idTreeWidget, std::set<RsGxsId>(), RSID_COL_KEYID) ;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -522,7 +523,10 @@ void IdDialog::circle_selected()
|
|||
/* update friend lists */
|
||||
RsGxsCircleDetails details;
|
||||
|
||||
for(int i=0;i<6 && !(rsGxsCircles->getCircleDetails(id, details));++i) usleep(300*1000) ;
|
||||
// This is a trick to force caching the circle data, allowing to wait for at most 1.2 secs.
|
||||
// A better choice would be to make the loading asynced.
|
||||
|
||||
for(int i=0;i<6 && !(rsGxsCircles->getCircleDetails(id, details));++i) usleep(200*1000) ;
|
||||
|
||||
/* now mark all the members */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue