Rename projLang to spellLang

This commit is contained in:
Veronica K. B. Olsen
2021-02-18 19:19:50 +01:00
parent a73eba8916
commit 8b0ac6e81e
3 changed files with 15 additions and 10 deletions
+2 -2
View File
@@ -599,10 +599,10 @@ class GuiDocEditor(QTextEdit):
status bar to show the one actually loaded by the spell checker
class.
"""
if self.theProject.projLang is None:
if self.theProject.projSpell is None:
theLang = self.mainConf.spellLanguage
else:
theLang = self.theProject.projLang
theLang = self.theProject.projSpell
self.theDict.setLanguage(theLang, self.theProject.projDict)
theTag, theProvider = self.theDict.describeDict()