Fix EventHandlers.onModelCleared callback
This commit is contained in:
parent
1c306f421a
commit
3c9895b0b2
|
@ -86,7 +86,8 @@ QtObject {
|
|||
|
||||
function onModelCleared(syncId) {
|
||||
// print("clear", syncId)
|
||||
ModelStore.get(syncId).clear()
|
||||
const model = ModelStore.get(syncId)
|
||||
model.clear()
|
||||
model.idToItems = {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user