Annotations: fixes (#11761)

This commit is contained in:
hius07
2024-05-07 19:54:57 +03:00
committed by GitHub
parent c47d3b3177
commit 725df17c45
4 changed files with 8 additions and 9 deletions

View File

@@ -1124,7 +1124,7 @@ function ReaderBookmark:setHighlightedText(item, text)
self.ui.annotation.annotations[index].text_edited = edited
-- item table
item.text_orig = text
item.text = self.display_prefix[item.type] .. (item.note or text)
item.text = self:getBookmarkItemText(item)
item.text_edited = edited
if edited then
self.refresh()