mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Removed Execute, as it's no longer used
CURA-1385
This commit is contained in:
parent
e1828a7689
commit
dcafb7d83a
1 changed files with 0 additions and 7 deletions
|
@ -39,10 +39,6 @@ class MachineAction(QObject, PluginObject):
|
|||
self._label = label
|
||||
self.labelChanged.emit()
|
||||
|
||||
@pyqtSlot()
|
||||
def execute(self):
|
||||
self._execute()
|
||||
|
||||
## Reset the action to it's default state.
|
||||
# This should not be re-implemented by child classes, instead re-implement _reset.
|
||||
# /sa _reset
|
||||
|
@ -62,9 +58,6 @@ class MachineAction(QObject, PluginObject):
|
|||
self._reset()
|
||||
self.onFinished.emit()
|
||||
|
||||
def _execute(self):
|
||||
raise NotImplementedError("Execute() must be implemented")
|
||||
|
||||
@pyqtProperty(bool, notify = onFinished)
|
||||
def finished(self):
|
||||
return self._finished
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue