src/eric7/QScintilla/QsciScintillaCompat.py

branch
eric7
changeset 10069
435cc5875135
parent 9977
a5acf678c367
child 10244
1b67aa43ec93
--- a/src/eric7/QScintilla/QsciScintillaCompat.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/QScintilla/QsciScintillaCompat.py	Thu May 25 19:51:47 2023 +0200
@@ -10,7 +10,7 @@
 import contextlib
 
 from PyQt6.Qsci import QsciScintilla, QsciScintillaBase
-from PyQt6.QtCore import QPoint, Qt, pyqtSignal
+from PyQt6.QtCore import QPoint, Qt, pyqtSignal, pyqtSlot
 from PyQt6.QtGui import QColor, QPalette
 from PyQt6.QtWidgets import QApplication, QListWidget
 
@@ -1694,6 +1694,7 @@
                 if moveY:
                     userListWidget.move(geom.x(), geom.y() - hScrollbarHeight)
 
+    @pyqtSlot(int, str)
     def __completionListSelected(self, listId, txt):
         """
         Private slot to handle the selection from the completion list.

eric ide

mercurial