We should read back the language dictionary setting from the spell class before updating status bar

This commit is contained in:
Veronica K. B. Olsen committed 2019-11-15 21:39:06 +01:00
1 parent 653c7bbe80
commit e841e0211a
5 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -315,7 +315,7 @@ class GuiDocEditor(QTextEdit):
def setDictionaries(self):
self.theDict.setLanguage(self.mainConf.spellLanguage, self.theProject.projDict)
self.theParent.statusBar.setLanguage(self.mainConf.spellLanguage)
self.theParent.statusBar.setLanguage(self.theDict.spellLanguage)
return True
def setSpellCheck(self, theMode):