--- a/QScintilla/Editor.py Tue Aug 31 16:38:06 2010 +0200 +++ b/QScintilla/Editor.py Wed Sep 01 13:30:55 2010 +0200 @@ -5348,7 +5348,10 @@ self.SCN_CHARADDED.connect(self.__spellCharAdded) self.spell.checkDocumentIncrementally() else: - self.SCN_CHARADDED.disconnect(self.__spellCharAdded) + try: + self.SCN_CHARADDED.disconnect(self.__spellCharAdded) + except TypeError: + pass self.clearAllIndicators(self.spellingIndicator) def isSpellCheckRegion(self, pos):