eric7/QScintilla/Editor.py

branch
eric7
changeset 8607
80dd37c65e91
parent 8581
a6c893c8b7af
child 8637
394377638256
--- a/eric7/QScintilla/Editor.py	Tue Sep 14 19:30:12 2021 +0200
+++ b/eric7/QScintilla/Editor.py	Tue Sep 14 19:58:41 2021 +0200
@@ -8922,7 +8922,7 @@
         @param data information text to be shown
         @type str
         """
-        if data:
+        if data and self.hasFocus() and not self.isListActive():
             pos = self.positionFromLineIndex(line, index)
             self.SendScintilla(QsciScintilla.SCI_CALLTIPSHOW,
                                pos, self._encodeString(data))

eric ide

mercurial