mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 11:49:01 +08:00
Don't continue after returning empty list
Oops. Shouldn't have pushed... Contributes to issue CURA-6597.
This commit is contained in:
parent
07c5c4d9f0
commit
86750c0446
@ -50,6 +50,7 @@ class IntentModel(ListModel):
|
|||||||
global_stack = application.getGlobalContainerStack()
|
global_stack = application.getGlobalContainerStack()
|
||||||
if not global_stack:
|
if not global_stack:
|
||||||
self.setItems(new_items)
|
self.setItems(new_items)
|
||||||
|
return
|
||||||
|
|
||||||
for intent_category, quality_type in IntentManager.getInstance().currentAvailableIntents():
|
for intent_category, quality_type in IntentManager.getInstance().currentAvailableIntents():
|
||||||
if intent_category == self._intent_category:
|
if intent_category == self._intent_category:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user