Fix EventHandlers.onModelCleared callback

This commit is contained in:
miruka 2020-09-04 10:58:04 -04:00
parent 1c306f421a
commit 3c9895b0b2

View File

@ -86,7 +86,8 @@ QtObject {
function onModelCleared(syncId) { function onModelCleared(syncId) {
// print("clear", syncId) // print("clear", syncId)
ModelStore.get(syncId).clear() const model = ModelStore.get(syncId)
model.clear()
model.idToItems = {} model.idToItems = {}
} }