NOISSUE fix groups not being updated in UI correctly

The model was not sending the appropriate signals.
This commit is contained in:
Petr Mrázek 2018-11-11 23:54:16 +01:00
parent 17e09a292d
commit defa911705

View File

@ -171,6 +171,8 @@ void InstanceList::setInstanceGroup(const InstanceId& id, const GroupId& name)
if(changed)
{
m_groups.insert(name);
auto idx = getInstIndex(inst.get());
emit dataChanged(index(idx), index(idx), {GroupRole});
saveGroupList();
}
}