Wrong logic ...

This commit is contained in:
Veronica K. B. Olsen
2019-11-19 22:04:28 +01:00
parent 98636a18e0
commit d4a33aba9f
+2 -1
View File
@@ -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)