fixed re-draw of subitem in circle tree when flags changed

This commit is contained in:
csoler 2016-05-24 21:23:35 -04:00
parent 2e91ab6364
commit 5b69fa06fd

View File

@ -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)
{