This commit is contained in:
Kovid Goyal 2020-08-07 07:57:18 +05:30
parent c96a1dc31e
commit 0ac9313bdf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -358,5 +358,5 @@ class HighlightsPanel(QWidget):
def export(self):
hl = list(self.highlights.all_highlights)
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_()