From a7ad9e87d21a8e22af6a811e07e6a1600534dab7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Aug 2020 09:05:33 +0530 Subject: [PATCH] Fix delete selected button not working --- src/calibre/gui2/library/annotations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index 5a5e42f003..7b33c4c8fd 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -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(