mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c96a1dc31e
commit
0ac9313bdf
@ -358,5 +358,5 @@ class HighlightsPanel(QWidget):
|
|||||||
def export(self):
|
def export(self):
|
||||||
hl = list(self.highlights.all_highlights)
|
hl = list(self.highlights.all_highlights)
|
||||||
if not hl:
|
if not hl:
|
||||||
return error_dialog(_('No highlights'), _('This book has no highlights to export'), show=True)
|
return error_dialog(self, _('No highlights'), _('This book has no highlights to export'), show=True)
|
||||||
Export(hl, self).exec_()
|
Export(hl, self).exec_()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user