mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-13 00:53:14 -04:00
fixed re-draw of subitem in circle tree when flags changed
This commit is contained in:
parent
2e91ab6364
commit
5b69fa06fd
1 changed files with 4 additions and 0 deletions
|
@ -558,6 +558,10 @@ void IdDialog::loadCircleGroupMeta(const uint32_t &token)
|
|||
#endif
|
||||
continue ;
|
||||
}
|
||||
// remove item if flags are not ok.
|
||||
|
||||
if(subitem && subitem->data(CIRCLEGROUP_CIRCLE_COL_GROUPFLAGS, Qt::UserRole).toUInt() != it2->second)
|
||||
delete subitem ;
|
||||
|
||||
if(!subitem)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue