mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 10:57:19 +01:00
Fix delete selected button not working
This commit is contained in:
parent
e0f142f1c8
commit
a7ad9e87d2
1 changed files with 1 additions and 0 deletions
|
|
@ -577,6 +577,7 @@ def delete_selected(self):
|
|||
if not ids:
|
||||
return error_dialog(self, _('No selected annotations'), _(
|
||||
'No annotations have been selected'), show=True)
|
||||
self.delete_annotations(ids)
|
||||
|
||||
def delete_annotations(self, ids):
|
||||
if question_dialog(self, _('Are you sure?'), ngettext(
|
||||
|
|
|
|||
Loading…
Reference in a new issue