Update cura/Machines/Models/ActiveIntentQualitiesModel.py

Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
Joey de l'Arago 2022-06-15 17:28:22 +02:00 committed by GitHub
parent 760976159c
commit 87afb117d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class ActiveIntentQualitiesModel(ListModel):
if active_extruder_stack:
self._intent_category = active_extruder_stack.intent.getMetaDataEntry("intent_category", "")
new_items = [] # type: List[Dict[str, Any]]
new_items: List[Dict[str, Any]] = []
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
if not global_stack:
self.setItems(new_items)