mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added PrintJob handling to ClusterUM3
CL-541
This commit is contained in:
parent
152f3462ce
commit
b1649f2d38
4 changed files with 68 additions and 5 deletions
|
@ -145,6 +145,10 @@ class PrinterOutputModel(QObject):
|
|||
|
||||
def updateActivePrintJob(self, print_job):
|
||||
if self._active_print_job != print_job:
|
||||
if self._active_print_job is not None:
|
||||
self._active_print_job.updateAssignedPrinter(None)
|
||||
if print_job is not None:
|
||||
print_job.updateAssignedPrinter(self)
|
||||
self._active_print_job = print_job
|
||||
self.activePrintJobChanged.emit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue