mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Search: fix matches not highlighted on current page
Regression (typo from cut and paste) from 7bd59330.
This commit is contained in:
@@ -83,7 +83,10 @@ function ReaderHighlight:init()
|
||||
text = _("Search"),
|
||||
callback = function()
|
||||
_self:onHighlightSearch()
|
||||
_self:onClose()
|
||||
UIManager:close(self.highlight_dialog)
|
||||
-- We don't call _self:onClose(), crengine will highlight
|
||||
-- search matches on the current page, and self:clear()
|
||||
-- would redraw and remove crengine native highlights
|
||||
end,
|
||||
}
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user