eric7/QScintilla/MiniEditor.py

branch
eric7
changeset 8766
77a85cb69d47
parent 8761
f05818ae6431
child 8881
54e42bc2437a
--- 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:

eric ide

mercurial