QScintilla/Editor.py

changeset 6025
9dfb5a421a56
parent 5987
6e33e83b215d
child 6030
63d1c50b637d
diff -r e5a2b8b613dd -r 9dfb5a421a56 QScintilla/Editor.py
--- a/QScintilla/Editor.py	Mon Dec 11 18:29:04 2017 +0100
+++ b/QScintilla/Editor.py	Mon Dec 11 19:17:20 2017 +0100
@@ -4660,6 +4660,9 @@
             # auto-completion is disabled
             return
         
+        if self.isListActive():
+            self.cancelList()
+        
         if self.__completionListHookFunctions or \
            self.__completionListAsyncHookFunctions:
             if auto and Preferences.getEditor("AutoCompletionTimeout"):

eric ide

mercurial