mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
STAR-322: Removing the print job after it was done
This commit is contained in:
parent
073e8cd6dc
commit
a5d8e6ceb8
3 changed files with 27 additions and 24 deletions
|
@ -229,6 +229,9 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||
removed_jobs, added_jobs, updated_jobs = findChanges(previous, received)
|
||||
|
||||
for removed_job in removed_jobs:
|
||||
if removed_job.assignedPrinter:
|
||||
removed_job.assignedPrinter.updateActivePrintJob(None)
|
||||
removed_job.stateChanged.disconnect(self._onPrintJobStateChanged)
|
||||
self._print_jobs.remove(removed_job)
|
||||
|
||||
for added_job in added_jobs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue