mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 00:04:27 +08:00
Add typing
CURA-6800
This commit is contained in:
parent
08ffafa475
commit
ddab8e204a
@ -613,8 +613,8 @@ class MachineManager(QObject):
|
|||||||
return False
|
return False
|
||||||
return Util.parseBool(global_container_stack.quality.getMetaDataEntry("is_experimental", False))
|
return Util.parseBool(global_container_stack.quality.getMetaDataEntry("is_experimental", False))
|
||||||
|
|
||||||
@pyqtProperty(str, notify=activeIntentChanged)
|
@pyqtProperty(str, notify = activeIntentChanged)
|
||||||
def activeIntentCategory(self):
|
def activeIntentCategory(self) -> str:
|
||||||
global_container_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
global_container_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
|
||||||
|
|
||||||
if not global_container_stack:
|
if not global_container_stack:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user