--- a/eric7/Network/IRC/IrcNetworkEditDialog.py Sat May 29 17:14:43 2021 +0200 +++ b/eric7/Network/IRC/IrcNetworkEditDialog.py Sun May 30 11:22:26 2021 +0200 @@ -115,16 +115,15 @@ self.identityCombo.setCurrentIndex(index) @pyqtSlot(int) - def on_identityCombo_currentIndexChanged(self, index): + def on_identityCombo_currentTextChanged(self, identity): """ Private slot to handle the selection of an identity. - @param index index of the selected entry - @type int + @param identity selected identity + @type str """ from .IrcNetworkManager import IrcIdentity - identity = self.identitiesCombo.itemText(index) if identity == IrcIdentity.DefaultIdentityDisplay: identity = IrcIdentity.DefaultIdentityName self.__network.setIdentityName(identity)