Removed Execute, as it's no longer used

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-06-22 13:10:10 +02:00
parent e1828a7689
commit dcafb7d83a

View file

@ -39,10 +39,6 @@ class MachineAction(QObject, PluginObject):
self._label = label self._label = label
self.labelChanged.emit() self.labelChanged.emit()
@pyqtSlot()
def execute(self):
self._execute()
## Reset the action to it's default state. ## Reset the action to it's default state.
# This should not be re-implemented by child classes, instead re-implement _reset. # This should not be re-implemented by child classes, instead re-implement _reset.
# /sa _reset # /sa _reset
@ -62,9 +58,6 @@ class MachineAction(QObject, PluginObject):
self._reset() self._reset()
self.onFinished.emit() self.onFinished.emit()
def _execute(self):
raise NotImplementedError("Execute() must be implemented")
@pyqtProperty(bool, notify = onFinished) @pyqtProperty(bool, notify = onFinished)
def finished(self): def finished(self):
return self._finished return self._finished