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
2019-11-15 21:39:06 +01:00
parent 653c7bbe80
commit e841e0211a
5 changed files with 14 additions and 7 deletions
+4 -1
View File
@@ -116,7 +116,10 @@ class GuiMainStatus(QStatusBar):
return
def setLanguage(self, theLanguage):
self.langBox.setText(NWSpellCheck.expandLanguage(theLanguage))
if theLanguage is None:
self.langBox.setText("None")
else:
self.langBox.setText(NWSpellCheck.expandLanguage(theLanguage))
return
def setProjectStatus(self, isChanged):