Fix delete selected button not working

This commit is contained in:
Kovid Goyal 2020-08-08 09:05:33 +05:30
parent e0f142f1c8
commit a7ad9e87d2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -577,6 +577,7 @@ class AnnotationsBrowser(Dialog):
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(