mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue