From 6e373e02c0cd0b3f90f915a6082c5c139c60df32 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 4 Jul 2019 12:36:14 +0200 Subject: [PATCH] Update through self.setItems rather than super().update Because super().update doesn't exist in this case. Stupid. Contributes to issue CURA-6597. --- cura/Machines/Models/IntentCategoryModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index 53193bd73d..9a520a2d31 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -60,4 +60,4 @@ class IntentCategoryModel(ListModel): "intent_category": category, "weight": list(self.name_translation.keys()).index(category) }) - super().update(result) \ No newline at end of file + self.setItems(result) \ No newline at end of file