Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2016-04-29 13:01:24 +0300
committerJaime van Kessel <nallath@gmail.com>2016-04-29 13:01:24 +0300
commitb899c65027793e691c2cac4354d47841ce97a280 (patch)
tree7434d81a39e83be59f13eafc3847957fb8607a1e /cura/MachineAction.py
parent06dfb7360242fb0523c975f8d728f9ef245560f5 (diff)
Added getters for MachineAction
CURA-1385
Diffstat (limited to 'cura/MachineAction.py')
-rw-r--r--cura/MachineAction.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cura/MachineAction.py b/cura/MachineAction.py
index c6ce9d0083..aaa3d9615d 100644
--- a/cura/MachineAction.py
+++ b/cura/MachineAction.py
@@ -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