diff --git a/nw/gui/elements/doceditor.py b/nw/gui/elements/doceditor.py index 83706fb5..6fa2294f 100644 --- a/nw/gui/elements/doceditor.py +++ b/nw/gui/elements/doceditor.py @@ -225,7 +225,8 @@ class GuiDocEditor(QTextEdit): # checking. If it is too big, we switch to only check as we type self._checkDocSize(len(theDoc)) spTemp = self.hLight.spellCheck - self.hLight.spellCheck = not self.bigDoc + if self.bigDoc: + self.hLight.spellCheck = False bfTime = time() self.setPlainText(theDoc)