Update 62000-spell_check.py
This commit is contained in:
parent
d0c883fc0d
commit
8acba5e053
@ -28,6 +28,9 @@ class command():
|
|||||||
return 'No Description found'
|
return 'No Description found'
|
||||||
|
|
||||||
def updateSpellLanguage(self):
|
def updateSpellLanguage(self):
|
||||||
|
if not initialized:
|
||||||
|
self.env['runtime']['outputManager'].presentText('pychant is not installed', interrupt=True)
|
||||||
|
return
|
||||||
self.spellChecker = enchant.Dict(self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage'))
|
self.spellChecker = enchant.Dict(self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage'))
|
||||||
self.language = self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage')
|
self.language = self.env['runtime']['settingsManager'].getSetting('general', 'spellCheckLanguage')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user