diff --git a/src/app/modules/shared_models/contacts_model.nim b/src/app/modules/shared_models/contacts_model.nim index 59f67b88d4..a31d9018d1 100644 --- a/src/app/modules/shared_models/contacts_model.nim +++ b/src/app/modules/shared_models/contacts_model.nim @@ -124,7 +124,16 @@ QtObject: self.items[ind] = item let index = self.createIndex(ind, 0, nil) - self.dataChanged(index, index, @[]) # all roles + + self.dataChanged(index, index, @[ + ModelRole.Name.int, + ModelRole.Icon.int, + ModelRole.IsIdenticon.int, + ModelRole.IsContact.int, + ModelRole.IsBlocked.int, + ModelRole.RequestReceived.int + ] + ) proc updateName*(self: Model, pubKey: string, name: string) = let ind = self.findIndexByPubKey(pubKey)