From 86750c0446748c720af2d609b366404a55d2207f Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 9 Jul 2019 10:54:47 +0200 Subject: [PATCH] Don't continue after returning empty list Oops. Shouldn't have pushed... Contributes to issue CURA-6597. --- cura/Machines/Models/IntentModel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cura/Machines/Models/IntentModel.py b/cura/Machines/Models/IntentModel.py index 1151ff836d..f4ed6e8206 100644 --- a/cura/Machines/Models/IntentModel.py +++ b/cura/Machines/Models/IntentModel.py @@ -50,6 +50,7 @@ class IntentModel(ListModel): global_stack = application.getGlobalContainerStack() if not global_stack: self.setItems(new_items) + return for intent_category, quality_type in IntentManager.getInstance().currentAvailableIntents(): if intent_category == self._intent_category: