--- a/src/eric7/SqlBrowser/SqlConnectionWidget.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/SqlBrowser/SqlConnectionWidget.py Thu May 25 19:51:47 2023 +0200 @@ -7,7 +7,7 @@ Module implementing a widget showing the SQL connections. """ -from PyQt6.QtCore import Qt, pyqtSignal +from PyQt6.QtCore import Qt, pyqtSignal, pyqtSlot from PyQt6.QtGui import QAction from PyQt6.QtSql import QSqlDatabase from PyQt6.QtWidgets import ( @@ -108,6 +108,7 @@ self.__setActive(cItm.parent()) self.schemaRequested.emit(cItm.text(0)) + @pyqtSlot(QTreeWidgetItem, int) def __itemActivated(self, itm, column): """ Private slot handling the activation of an item. @@ -127,6 +128,7 @@ self.tableActivated.emit(itm.text(0)) self.__activating = False + @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) def __currentItemChanged(self, current, previous): """ Private slot handling a change of the current item.