mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-30 12:10:19 +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 enchant and self.spellcheck and not self._dict:
|
||||||
if self.currentDict:
|
if self.currentDict:
|
||||||
self._dict = enchant.Dict(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())
|
self._dict = enchant.Dict(enchant.get_default_language())
|
||||||
else:
|
else:
|
||||||
self.spellcheck = False
|
self.spellcheck = False
|
||||||
|
|
Loading…
Reference in a new issue