Added spelling language to config, and updated sample project

This commit is contained in:
Veronica K. B. Olsen committed 2019-05-04 22:25:34 +02:00
1 parent a728a7c42e
commit 9ea70aeeaf
4 files changed
+19 -11

No files matched your search

+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