mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Fix local pause, resume and abort
This commit is contained in:
parent
1aa70748af
commit
93146610f7
2 changed files with 11 additions and 11 deletions
|
@ -96,13 +96,13 @@ class NetworkOutputDevice(UltimakerNetworkedPrinterOutputDevice):
|
|||
|
||||
@pyqtSlot(str, name="forceSendJob")
|
||||
def forceSendJob(self, print_job_uuid: str) -> None:
|
||||
self._cluster_api.doPrintJobAction(print_job_uuid, "force")
|
||||
self._cluster_api.forcePrintJob(print_job_uuid)
|
||||
|
||||
## Set the remote print job state.
|
||||
# \param print_job_uuid: The UUID of the print job to set the state for.
|
||||
# \param action: The action to undertake ('pause', 'resume', 'abort').
|
||||
def setJobState(self, print_job_uuid: str, action: str) -> None:
|
||||
self._cluster_api.doPrintJobAction(print_job_uuid, action)
|
||||
self._cluster_api.setPrintJobState(print_job_uuid, action)
|
||||
|
||||
## Handle network errors.
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue