parent
f0744ed61d
commit
e38d8c8490
|
@ -77,5 +77,7 @@ QtObject:
|
||||||
let temporaryModelIDs = self.temporaryModel.getItemIds()
|
let temporaryModelIDs = self.temporaryModel.getItemIds()
|
||||||
let membersAdded = filter(temporaryModelIDs, id => not modelIDs.contains(id))
|
let membersAdded = filter(temporaryModelIDs, id => not modelIDs.contains(id))
|
||||||
let membersRemoved = filter(modelIDs, id => not temporaryModelIDs.contains(id))
|
let membersRemoved = filter(modelIDs, id => not temporaryModelIDs.contains(id))
|
||||||
|
if (membersAdded.len > 0):
|
||||||
self.delegate.addGroupMembers(membersAdded)
|
self.delegate.addGroupMembers(membersAdded)
|
||||||
|
if (membersRemoved.len > 0):
|
||||||
self.delegate.removeGroupMembers(membersRemoved)
|
self.delegate.removeGroupMembers(membersRemoved)
|
||||||
|
|
Loading…
Reference in New Issue