From ddab8e204a89f26455d576fa1352a7b7a0e87eb3 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 23 Sep 2019 11:43:48 +0200 Subject: [PATCH] Add typing CURA-6800 --- cura/Settings/MachineManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index b6b426f602..6cea18507b 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -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: