src/eric7/WebBrowser/CookieJar/CookiesDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
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)

eric ide

mercurial