Merged remote changes.

Wed, 01 Sep 2010 19:25:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 01 Sep 2010 19:25:12 +0200
changeset 544
303e2c8fd00e
parent 543
a558e3cb7b5a (current diff)
parent 542
26a79c19993c (diff)
child 545
1538031b5175

Merged remote changes.

--- a/QScintilla/Editor.py	Wed Sep 01 19:24:30 2010 +0200
+++ b/QScintilla/Editor.py	Wed Sep 01 19:25:12 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):

eric ide

mercurial