readerhighlight: keep highlight for default action 'Translate'

This commit is contained in:
hius07 authored and Frans de Jonge committed 2022-04-17 09:37:29 +02:00
1 parent b4314acb2c
commit 74d0d22a15
1 file changed
-1
@@ -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()