readerhighlight: keep highlight for default action 'Translate'

reviewable/pr9014/r1
hius07 2 years ago committed by Frans de Jonge
parent b4314acb2c
commit 74d0d22a15

@ -1453,7 +1453,6 @@ function ReaderHighlight:onHoldRelease()
self:onClose()
elseif default_highlight_action == "translate" then
self:translate(self.selected_text)
self:onClose()
elseif default_highlight_action == "wikipedia" then
self:lookupWikipedia()
self:onClose()

Loading…
Cancel
Save