ReaderHighlight: delete highlight in view note dialog (#11039)

This commit is contained in:
hius07
2023-10-29 12:33:29 +02:00
committed by GitHub
parent 12bea3b14b
commit 6b892a65a3

View File

@@ -894,9 +894,10 @@ function ReaderHighlight:showHighlightNoteOrDialog(page, index, bookmark_note)
buttons_table = {
{
{
text = _("Close"),
text = _("Delete highlight"),
callback = function()
UIManager:close(textviewer)
self:deleteHighlight(page, index)
end,
},
{