mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 10:25:52 +08:00
Update cura/Machines/Models/ActiveIntentQualitiesModel.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
This commit is contained in:
parent
760976159c
commit
87afb117d0
@ -55,7 +55,7 @@ class ActiveIntentQualitiesModel(ListModel):
|
|||||||
if active_extruder_stack:
|
if active_extruder_stack:
|
||||||
self._intent_category = active_extruder_stack.intent.getMetaDataEntry("intent_category", "")
|
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()
|
global_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
||||||
if not global_stack:
|
if not global_stack:
|
||||||
self.setItems(new_items)
|
self.setItems(new_items)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user