mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix waiting jobs not showing up in job manager
This commit is contained in:
parent
d6489d1013
commit
38a5eaf141
@ -163,7 +163,7 @@ class JobManager(QAbstractTableModel):
|
|||||||
job = self.add_queue.pop()
|
job = self.add_queue.pop()
|
||||||
self.waiting_jobs.append(job)
|
self.waiting_jobs.append(job)
|
||||||
self.emit(SIGNAL('job_added(int)'), job.id, Qt.QueuedConnection)
|
self.emit(SIGNAL('job_added(int)'), job.id, Qt.QueuedConnection)
|
||||||
|
refresh = True
|
||||||
|
|
||||||
for job in [job for job in self.running_jobs if job.isFinished()]:
|
for job in [job for job in self.running_jobs if job.isFinished()]:
|
||||||
self.running_jobs.remove(job)
|
self.running_jobs.remove(job)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user