readerhighlight: keep highlight for default action 'Translate'

This commit is contained in:
hius07
2022-04-17 10:03:15 +03:00
committed by Frans de Jonge
parent b4314acb2c
commit 74d0d22a15

View File

@@ -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()