From 2e90078ec705f04daa0ebfbec84577434a1948a3 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 3 May 2019 13:19:17 +0200 Subject: [PATCH] Fix incorrect deprecation message --- cura/Settings/MachineManager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index d1f5c4c884..cd6c7cd191 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -720,7 +720,7 @@ class MachineManager(QObject): extruder_stack.userChanges.setProperty(key, "value", new_value) @pyqtProperty(str, notify = activeVariantChanged) - @deprecated("use Cura.activeStack.variant.name instead", "4.1") + @deprecated("use Cura.MachineManager.activeStack.variant.name instead", "4.1") def activeVariantName(self) -> str: if self._active_container_stack: variant = self._active_container_stack.variant @@ -730,7 +730,7 @@ class MachineManager(QObject): return "" @pyqtProperty(str, notify = activeVariantChanged) - @deprecated("use Cura.activeStack.variant.id instead", "4.1") + @deprecated("use Cura.MachineManager.activeStack.variant.id instead", "4.1") def activeVariantId(self) -> str: if self._active_container_stack: variant = self._active_container_stack.variant @@ -740,7 +740,7 @@ class MachineManager(QObject): return "" @pyqtProperty(str, notify = activeVariantChanged) - @deprecated("use Cura.activeMachine.variant.name instead", "4.1") + @deprecated("use Cura.MachineManager.activeMachine.variant.name instead", "4.1") def activeVariantBuildplateName(self) -> str: if self._global_container_stack: variant = self._global_container_stack.variant @@ -750,7 +750,7 @@ class MachineManager(QObject): return "" @pyqtProperty(str, notify = globalContainerChanged) - @deprecated("use Cura.activeMachine.definition.id instead", "4.1") + @deprecated("use Cura.MachineManager.activeMachine.definition.id instead", "4.1") def activeDefinitionId(self) -> str: if self._global_container_stack: return self._global_container_stack.definition.id