Added getters for MachineAction

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-04-29 12:01:24 +02:00
parent 06dfb73602
commit b899c65027

View File

@ -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