mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 08:03:12 +02:00
Fix #1240 (Error: Cannot kill witing job)
This commit is contained in:
parent
76eca156c6
commit
9ac26ded49
1 changed files with 2 additions and 2 deletions
|
|
@ -167,8 +167,8 @@ def kill_job(self, row, view):
|
|||
_('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…
Reference in a new issue