[core] maintain a model with CompatibilityNodes on topology change

This commit is contained in:
Yann Lanthony 2018-07-20 17:52:30 +02:00
parent 3417f58335
commit 8679fd8bf7
2 changed files with 16 additions and 3 deletions

View file

@ -214,8 +214,7 @@ class QObjectListModel(QtCore.QAbstractListModel):
self.extend(objects)
def reset(self, objects):
self.clear()
self.update(objects)
self.setObjectList(objects)
def contains(self, obj):
""" Returns true if the list contains an occurrence of object;