Wrong logic ...
This commit is contained in:
@@ -225,7 +225,8 @@ class GuiDocEditor(QTextEdit):
|
|||||||
# checking. If it is too big, we switch to only check as we type
|
# checking. If it is too big, we switch to only check as we type
|
||||||
self._checkDocSize(len(theDoc))
|
self._checkDocSize(len(theDoc))
|
||||||
spTemp = self.hLight.spellCheck
|
spTemp = self.hLight.spellCheck
|
||||||
self.hLight.spellCheck = not self.bigDoc
|
if self.bigDoc:
|
||||||
|
self.hLight.spellCheck = False
|
||||||
|
|
||||||
bfTime = time()
|
bfTime = time()
|
||||||
self.setPlainText(theDoc)
|
self.setPlainText(theDoc)
|
||||||
|
|||||||
Reference in New Issue
Block a user