Add typing

CURA-6800
This commit is contained in:
Lipu Fei 2019-09-23 11:43:48 +02:00
parent 08ffafa475
commit ddab8e204a

View File

@ -613,8 +613,8 @@ class MachineManager(QObject):
return False
return Util.parseBool(global_container_stack.quality.getMetaDataEntry("is_experimental", False))
@pyqtProperty(str, notify=activeIntentChanged)
def activeIntentCategory(self):
@pyqtProperty(str, notify = activeIntentChanged)
def activeIntentCategory(self) -> str:
global_container_stack = cura.CuraApplication.CuraApplication.getInstance().getGlobalContainerStack()
if not global_container_stack: