Moved spell checker classes to core folder

This commit is contained in:
Veronica K. B. Olsen committed 2020-05-08 21:02:30 +02:00
1 parent 386020bcf8
commit 9b049b6469
6 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -42,7 +42,7 @@ from PyQt5.QtGui import (
from nw.core import NWDoc
from nw.gui.tools import GuiDocHighlighter, WordCounter
from nw.gui.elements.doctitlebar import GuiDocTitleBar
from nw.tools import NWSpellSimple
from nw.core import NWSpellSimple
from nw.constants import nwUnicode, nwDocAction
logger = logging.getLogger(__name__)
@@ -1007,7 +1007,7 @@ class GuiDocEditor(QTextEdit):
"""
if self.mainConf.spellTool == "enchant":
from nw.tools.spellcheck import NWSpellEnchant
from nw.core.spellcheck import NWSpellEnchant
self.theDict = NWSpellEnchant()
else:
self.theDict = NWSpellSimple()