mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed re-draw of subitem in circle tree when flags changed
This commit is contained in:
parent
2e91ab6364
commit
5b69fa06fd
@ -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…
Reference in New Issue
Block a user