mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix delete selected button not working
This commit is contained in:
parent
e0f142f1c8
commit
a7ad9e87d2
@ -577,6 +577,7 @@ class AnnotationsBrowser(Dialog):
|
|||||||
if not ids:
|
if not ids:
|
||||||
return error_dialog(self, _('No selected annotations'), _(
|
return error_dialog(self, _('No selected annotations'), _(
|
||||||
'No annotations have been selected'), show=True)
|
'No annotations have been selected'), show=True)
|
||||||
|
self.delete_annotations(ids)
|
||||||
|
|
||||||
def delete_annotations(self, ids):
|
def delete_annotations(self, ids):
|
||||||
if question_dialog(self, _('Are you sure?'), ngettext(
|
if question_dialog(self, _('Are you sure?'), ngettext(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user