Commit e8e82b36 authored by Luci Stanescu's avatar Luci Stanescu

Fixed ContactModel.removeGroup to also reset the group's widget

parent 1d46231c
......@@ -838,6 +838,7 @@ class ContactModel(QAbstractListModel):
if group not in self.items:
return
items = self._pop_group(group)
group.widget = Null
if type(group) is ContactGroup:
self.deleted_items.append(items)
self.itemsRemoved.emit(items)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment