Added spelling language to config, and updated sample project

This commit is contained in:
Veronica K. B. Olsen
2019-05-04 22:25:34 +02:00
parent a728a7c42e
commit 9ea70aeeaf
4 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class GuiDocEditor(QTextEdit):
# Core Elements
self.theDoc = self.document()
self.theDict = enchant.Dict("en_GB")
self.theDict = enchant.Dict(self.mainConf.spellLanguage)
self.hLight = GuiDocHighlighter(self.theDoc, self.theDict)
# Editor State