mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix typo that broke stopping selected jobs in 0.8.22
This commit is contained in:
parent
37098e6ddf
commit
ec2bcf9edd
@ -500,6 +500,7 @@ class JobsDialog(QDialog, Ui_JobsDialog):
|
|||||||
def kill_job(self, *args):
|
def kill_job(self, *args):
|
||||||
rows = [index.row() for index in
|
rows = [index.row() for index in
|
||||||
self.jobs_view.selectionModel().selectedRows()]
|
self.jobs_view.selectionModel().selectedRows()]
|
||||||
|
if not rows:
|
||||||
return error_dialog(self, _('No job'),
|
return error_dialog(self, _('No job'),
|
||||||
_('No job selected'), show=True)
|
_('No job selected'), show=True)
|
||||||
if question_dialog(self, _('Are you sure?'),
|
if question_dialog(self, _('Are you sure?'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user