mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Active quality group can be None.
part of CURA-6600
This commit is contained in:
parent
8f75a12d27
commit
fbf4d42f06
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue