Fix cura crashing

`activeQualityDisplayNameMap` no longer returned a dict and could thus not be a pyqt property

Cura-9773
This commit is contained in:
c.lamboo 2022-11-28 13:14:47 +01:00
parent 8e8437eab0
commit be40920042
3 changed files with 6 additions and 7 deletions

View file

@ -226,7 +226,7 @@ class UFPWriter(MeshWriter):
"changes": {},
"all_settings": {},
},
"quality": asdict(machine_manager.activeQualityDisplayNameMap),
"quality": asdict(machine_manager.activeQualityDisplayNameMap()),
}
global_stack = cast(GlobalStack, Application.getInstance().getGlobalContainerStack())