Update through self.setItems rather than super().update

Because super().update doesn't exist in this case. Stupid.

Contributes to issue CURA-6597.
This commit is contained in:
Ghostkeeper 2019-07-04 12:36:14 +02:00
parent 0047874f03
commit 6e373e02c0
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -60,4 +60,4 @@ class IntentCategoryModel(ListModel):
"intent_category": category,
"weight": list(self.name_translation.keys()).index(category)
})
super().update(result)
self.setItems(result)