mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-25 06:22:03 +00:00
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)
|
||||
{
|
||||
m_groups.insert(name);
|
||||
auto idx = getInstIndex(inst.get());
|
||||
emit dataChanged(index(idx), index(idx), {GroupRole});
|
||||
saveGroupList();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user