eric7/QScintilla/Editor.py

branch
eric7
changeset 8517
639768825569
parent 8516
88c8178c7434
child 8519
fd4722a8f782
--- a/eric7/QScintilla/Editor.py	Thu Aug 19 17:05:43 2021 +0200
+++ b/eric7/QScintilla/Editor.py	Thu Aug 19 17:21:03 2021 +0200
@@ -8866,7 +8866,7 @@
         @param y y-value of mouse screen position
         @type int
         """
-        if self.__mouseHoverHelp is not None and pos >= 0:
+        if self.__mouseHoverHelp is not None and pos > 0 and y > 0:
             line, index = self.lineIndexFromPosition(pos)
             if index > 0:
                 self.__mouseHoverHelp(self, line, index)

eric ide

mercurial