mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Edit Book: When editing a book in a language for which no dictionary is installed, consider all words to be correctly spelt, rather than misspelt. Fixes #1320829 [Edit book very slow](https://bugs.launchpad.net/calibre/+bug/1320829)
This commit is contained in:
parent
29c5efa641
commit
2a84c0c1b6
@ -348,6 +348,8 @@ class Dictionaries(object):
|
|||||||
ans = d.obj.recognized(word)
|
ans = d.obj.recognized(word)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
ans = True
|
||||||
self.word_cache[key] = ans
|
self.word_cache[key] = ans
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user