From 38a5eaf1418d48477daab26180d1f3fd9aa11864 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 11 Jun 2008 13:15:18 -0700 Subject: [PATCH] Fix waiting jobs not showing up in job manager --- src/calibre/gui2/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/jobs.py b/src/calibre/gui2/jobs.py index b19b8cedcf..da9c9fa36a 100644 --- a/src/calibre/gui2/jobs.py +++ b/src/calibre/gui2/jobs.py @@ -163,7 +163,7 @@ class JobManager(QAbstractTableModel): job = self.add_queue.pop() self.waiting_jobs.append(job) 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()]: self.running_jobs.remove(job)