Fri, 12 Nov 2021 17:57:29 +0100
Fixed a backward compatibility issue.
eric7/QScintilla/Editor.py | file | annotate | diff | comparison | revisions | |
eric7/QScintilla/MiniEditor.py | file | annotate | diff | comparison | revisions |
--- a/eric7/QScintilla/Editor.py Tue Nov 09 19:36:06 2021 +0100 +++ b/eric7/QScintilla/Editor.py Fri Nov 12 17:57:29 2021 +0100 @@ -7202,7 +7202,7 @@ Qt.KeyboardModifier.AltModifier )) ): - line, index = self.lineIndexFromPoint(event.pos()) + line, index = self.lineIndexFromPoint(event.position().toPoint()) self.addCursor(line, index) event.accept() else:
--- a/eric7/QScintilla/MiniEditor.py Tue Nov 09 19:36:06 2021 +0100 +++ b/eric7/QScintilla/MiniEditor.py Fri Nov 12 17:57:29 2021 +0100 @@ -161,7 +161,7 @@ Qt.KeyboardModifier.AltModifier )) ): - line, index = self.lineIndexFromPoint(event.pos()) + line, index = self.lineIndexFromPoint(event.position().toPoint()) self.addCursor(line, index) event.accept() else: