mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-28 03:00:59 +12:00
Bug correction...
This commit is contained in:
parent
f2538a586b
commit
1cda95f43c
|
@ -357,7 +357,7 @@ class textEditView(QTextEdit):
|
|||
if enchant and self.spellcheck and not self._dict:
|
||||
if self.currentDict:
|
||||
self._dict = enchant.Dict(self.currentDict)
|
||||
elif enchant.get_default_language() in enchant.get_default_language():
|
||||
elif enchant.dict_exists(enchant.get_default_language()):
|
||||
self._dict = enchant.Dict(enchant.get_default_language())
|
||||
else:
|
||||
self.spellcheck = False
|
||||
|
|
Loading…
Reference in a new issue