Improve currentIntentCategory logic

CURA-11854
This commit is contained in:
Jaime van Kessel 2024-04-24 13:15:21 +02:00
parent 600cd7669c
commit a5a25f676e
No known key found for this signature in database
GPG key ID: C85F7A3AF1BAA7C4
2 changed files with 18 additions and 5 deletions

View file

@ -55,7 +55,6 @@ class ActiveIntentQualitiesModel(ListModel):
def _update(self):
self._intent_category = IntentManager.getInstance().currentIntentCategory
new_items: List[Dict[str, Any]] = []
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
if not global_stack: