readerhighlight: fix call of Search

reviewable/pr11507/r1
hius07 2 months ago committed by GitHub
parent a568335704
commit 1362a72ba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1943,7 +1943,7 @@ function ReaderHighlight:onHighlightSearch()
self:highlightFromHoldPos()
if self.selected_text then
local text = util.stripPunctuation(cleanupSelectedText(self.selected_text.text))
self.ui:handleEvent(Event:new("ShowSearchDialog", text))
self.ui.search:searchText(text)
end
end

Loading…
Cancel
Save