diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/WebBrowser/CookieJar/CookiesDialog.py --- a/src/eric7/WebBrowser/CookieJar/CookiesDialog.py Tue Apr 23 09:29:13 2024 +0200 +++ b/src/eric7/WebBrowser/CookieJar/CookiesDialog.py Tue Apr 23 11:26:04 2024 +0200 @@ -155,13 +155,13 @@ self.cookiesTree.clear() @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem) - def on_cookiesTree_currentItemChanged(self, current, previous): + def on_cookiesTree_currentItemChanged(self, current, _previous): """ Private slot to handle a change of the current item. @param current reference to the current item @type QTreeWidgetItem - @param previous reference to the previous current item + @param _previous reference to the previous current item (unused) @type QTreeWidgetItem """ self.addButton.setEnabled(current is not None)