Search: fix matches not highlighted on current page

Regression (typo from cut and paste) from 7bd59330.
pull/7119/head
poire-z 3 years ago
parent 2e95bc7a71
commit dc80321688

@ -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,

Loading…
Cancel
Save