mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1240 (Error: Cannot kill witing job)
This commit is contained in:
parent
76eca156c6
commit
9ac26ded49
@ -167,8 +167,8 @@ class JobManager(QAbstractTableModel):
|
||||
_('Job has already run')).exec_()
|
||||
return
|
||||
if not job.is_running:
|
||||
error_dialog(view, _('Cannot kill job'),
|
||||
_('Cannot kill waiting job')).exec_()
|
||||
self.jobs.remove(job)
|
||||
self.reset()
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user