vocabbuilder.koplugin: fix selecting context bug (#12938)
Missed one line in #12917. Fixes #12916
This commit is contained in:
1 parent
15f5dbef83
commit
2298ef76f0
1 file changed
-1
@@ -1209,7 +1209,6 @@ function KoptInterface:getSelectedWordContext(word, nb_words, pos)
|
||||
end
|
||||
end
|
||||
end
|
||||
if boxes[i][j].word ~= word then return end
|
||||
local prev_text = get_prev_text(boxes, i, j, nb_words)
|
||||
local next_text = get_next_text(boxes, i_end, j_end, nb_words)
|
||||
return prev_text, next_text
|
||||
|
||||
Reference in new issue
Block a user