mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Merge branch 'STAR-322_cloud-connection' of github.com:Ultimaker/Cura into STAR-322_cloud-connection
This commit is contained in:
commit
54744b46a7
11 changed files with 123 additions and 32 deletions
|
@ -288,8 +288,10 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
|||
for updated_job_id in set(current_jobs).intersection(remote_jobs):
|
||||
self._updateUM3PrintJobOutputModel(current_jobs[updated_job_id], remote_jobs[updated_job_id])
|
||||
|
||||
# TODO: properly handle removed and updated printers
|
||||
self.printJobsChanged.emit()
|
||||
# We only have to update when jobs are added or removed
|
||||
# updated jobs push their changes via their outputmodel
|
||||
if len(removed_job_ids) > 0 or len(new_job_ids) > 0:
|
||||
self.printJobsChanged.emit()
|
||||
|
||||
def _addPrintJob(self, job: CloudClusterPrintJob) -> None:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue