Search: fix matches not highlighted on current page
Regression (typo from cut and paste) from 7bd59330.
This commit is contained in:
1 parent
2e95bc7a71
commit
dc80321688
1 file changed
+4
-1
@@ -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