Browse Source

Un-deprecate activeMachine{Name,Id}

Since it provides too much noise and I do not want to change the code
that uses it right now.
Arjen Hiemstra 8 years ago
parent
commit
6827849220
1 changed files with 0 additions and 2 deletions
  1. 0 2
      cura/Settings/MachineManager.py

+ 0 - 2
cura/Settings/MachineManager.py

@@ -500,7 +500,6 @@ class MachineManager(QObject):
         return ""
 
     @pyqtProperty(str, notify = globalContainerChanged)
-    @deprecated("Use activeMachine.name", "2.6")
     def activeMachineName(self) -> str:
         if self._global_container_stack:
             return self._global_container_stack.getName()
@@ -508,7 +507,6 @@ class MachineManager(QObject):
         return ""
 
     @pyqtProperty(str, notify = globalContainerChanged)
-    @deprecated("Use activeMachine.id", "2.6")
     def activeMachineId(self) -> str:
         if self._global_container_stack:
             return self._global_container_stack.getId()