From defa911705421d9c6cfa91cd74ea987951cab94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 11 Nov 2018 23:54:16 +0100 Subject: NOISSUE fix groups not being updated in UI correctly The model was not sending the appropriate signals. --- api/logic/InstanceList.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/logic') diff --git a/api/logic/InstanceList.cpp b/api/logic/InstanceList.cpp index 4a209454..ed4286e3 100644 --- a/api/logic/InstanceList.cpp +++ b/api/logic/InstanceList.cpp @@ -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(); } } -- cgit v1.2.3