Editor: added code to cancel the calltip window when the editor looses focus. eric7

Mon, 23 Aug 2021 19:30:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 23 Aug 2021 19:30:32 +0200
branch
eric7
changeset 8535
409de549193e
parent 8534
8be5b0697864
child 8536
f5c80cf9f84e

Editor: added code to cancel the calltip window when the editor looses focus.

eric7/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric7/QScintilla/Editor.py	Mon Aug 23 19:24:16 2021 +0200
+++ b/eric7/QScintilla/Editor.py	Mon Aug 23 19:30:32 2021 +0200
@@ -7128,6 +7128,8 @@
         self.vm.editorActGrp.setEnabled(False)
         self.setCaretWidth(0)
         
+        self.SendScintilla(QsciScintilla.SCI_CALLTIPCANCEL)
+        
         super().focusOutEvent(event)
         
     def changeEvent(self, evt):

eric ide

mercurial