mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 01:35:56 +08:00
Active quality group can be None.
part of CURA-6600
This commit is contained in:
parent
8f75a12d27
commit
fbf4d42f06
@ -598,6 +598,8 @@ class MachineManager(QObject):
|
||||
global_container_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
||||
if not global_container_stack:
|
||||
return False
|
||||
if not self.activeQualityGroup:
|
||||
return False
|
||||
return self.activeQualityGroup.is_available
|
||||
|
||||
@pyqtProperty(bool, notify = activeQualityGroupChanged)
|
||||
|
Loading…
x
Reference in New Issue
Block a user