mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 23:53:13 +08:00
Removed Execute, as it's no longer used
CURA-1385
This commit is contained in:
parent
e1828a7689
commit
dcafb7d83a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user