mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
disable word OCR for now
Since it will crash the reader with a strange error message saying "terminate called after throwing an instance of 'DJVU::GException'" even though only PDF file is opened.
This commit is contained in:
@@ -12,7 +12,7 @@ end
|
||||
|
||||
function ReaderDictionary:onLookupWord(word)
|
||||
DEBUG("lookup word:", word)
|
||||
if self.lipc_handle then
|
||||
if self.lipc_handle and word then
|
||||
-- start indicator depends on pillow being enabled
|
||||
self.lipc_handle:set_string_property(
|
||||
"com.lab126.booklet.kpvbooklet.dict", "lookup", word)
|
||||
|
||||
Reference in New Issue
Block a user