Merged the spell checking classes into one file

This commit is contained in:
Veronica K. B. Olsen
2020-05-08 20:41:39 +02:00
parent 7f41daf518
commit 704d9a11e4
5 changed files with 170 additions and 235 deletions
+1 -1
View File
@@ -1007,7 +1007,7 @@ class GuiDocEditor(QTextEdit):
"""
if self.mainConf.spellTool == "enchant":
from nw.tools.spellenchant import NWSpellEnchant
from nw.tools.spellcheck import NWSpellEnchant
self.theDict = NWSpellEnchant()
else:
self.theDict = NWSpellSimple()