diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Preferences/ConfigurationPages/DebuggerGeneralPage.py --- a/src/eric7/Preferences/ConfigurationPages/DebuggerGeneralPage.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/Preferences/ConfigurationPages/DebuggerGeneralPage.py Tue Apr 23 11:26:04 2024 +0200 @@ -287,13 +287,13 @@ ) @pyqtSlot(QListWidgetItem, QListWidgetItem) - def on_allowedHostsList_currentItemChanged(self, current, previous): + def on_allowedHostsList_currentItemChanged(self, current, _previous): """ Private method to set the state of the edit and delete button. @param current new current item @type QListWidgetItem - @param previous previous current item + @param _previous previous current item (unused) @type QListWidgetItem """ self.editAllowedHostButton.setEnabled(current is not None)