mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 05:16:33 +08:00
Added getters for MachineAction
CURA-1385
This commit is contained in:
parent
06dfb73602
commit
b899c65027
@ -7,5 +7,12 @@ from UM.PluginObject import PluginObject
|
||||
|
||||
class MachineAction(QObject, PluginObject):
|
||||
def __init__(self, key, label = ""):
|
||||
super().__init__()
|
||||
self._key = key
|
||||
self._label = label
|
||||
|
||||
def getKey(self):
|
||||
return self._key
|
||||
|
||||
def getLabel(self):
|
||||
return self._label
|
||||
|
Loading…
x
Reference in New Issue
Block a user