From a2f72455790c8126db92905ba30927b49fa98068 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 6 Sep 2016 09:44:53 +0200 Subject: [PATCH] Update spell_check.py --- src/fenrir-package/commands/commands/spell_check.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fenrir-package/commands/commands/spell_check.py b/src/fenrir-package/commands/commands/spell_check.py index 0716ee50..95f1dae1 100644 --- a/src/fenrir-package/commands/commands/spell_check.py +++ b/src/fenrir-package/commands/commands/spell_check.py @@ -22,6 +22,7 @@ class command(): if environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage') != self.language: try: self.spellChecker = enchant.Dict(environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage')) + self.language = environment['runtime']['settingsManager'].getSetting(environment, 'general', 'spellCheckLanguage') except: return environment