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,7 +500,8 @@ class JobsDialog(QDialog, Ui_JobsDialog):
|
||||
def kill_job(self, *args):
|
||||
rows = [index.row() for index in
|
||||
self.jobs_view.selectionModel().selectedRows()]
|
||||
return error_dialog(self, _('No job'),
|
||||
if not rows:
|
||||
return error_dialog(self, _('No job'),
|
||||
_('No job selected'), show=True)
|
||||
if question_dialog(self, _('Are you sure?'),
|
||||
ngettext('Do you really want to stop the selected job?',
|
||||
|
Loading…
x
Reference in New Issue
Block a user