NOISSUE fix groups not being updated in UI correctly
The model was not sending the appropriate signals.
This commit is contained in:
parent
17e09a292d
commit
defa911705
@ -171,6 +171,8 @@ void InstanceList::setInstanceGroup(const InstanceId& id, const GroupId& name)
|
|||||||
if(changed)
|
if(changed)
|
||||||
{
|
{
|
||||||
m_groups.insert(name);
|
m_groups.insert(name);
|
||||||
|
auto idx = getInstIndex(inst.get());
|
||||||
|
emit dataChanged(index(idx), index(idx), {GroupRole});
|
||||||
saveGroupList();
|
saveGroupList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user