mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Highlight: add note marker (#9395)
This commit is contained in:
@@ -1098,7 +1098,11 @@ function ReaderBookmark:renameBookmark(item, from_highlight, is_new_note, new_te
|
||||
end
|
||||
end
|
||||
UIManager:close(self.input)
|
||||
if not from_highlight then
|
||||
if from_highlight then
|
||||
if self.view.highlight.note_mark then
|
||||
UIManager:setDirty(self.dialog, "ui") -- refresh note marker
|
||||
end
|
||||
else
|
||||
bookmark.type = self:getBookmarkType(bookmark)
|
||||
bookmark.text_orig = bookmark.text
|
||||
bookmark.text = DISPLAY_PREFIX[bookmark.type] .. bookmark.text
|
||||
|
||||
Reference in New Issue
Block a user