diff --git a/src/calibre/gui2/jobs2.py b/src/calibre/gui2/jobs2.py index a485b93ab5..10b3853907 100644 --- a/src/calibre/gui2/jobs2.py +++ b/src/calibre/gui2/jobs2.py @@ -128,7 +128,10 @@ class JobManager(QAbstractTableModel): self.emit(SIGNAL('layoutChanged()')) def _status_update(self, job): - row = self.jobs.index(job) + try: + row = self.jobs.index(job) + except ValueError: # Job has been stopped + return self.emit(SIGNAL('dataChanged(QModelIndex, QModelIndex)'), self.index(row, 0), self.index(row, 3))