mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 22:23:57 -06:00
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.
This commit is contained in:
parent
433537a2f0
commit
6827849220
1 changed files with 0 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue