src/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10595
59579e8aff98
child 11006
a671918232f3
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py
--- a/src/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Tue Apr 23 11:26:04 2024 +0200
@@ -254,13 +254,13 @@
         )
 
     @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem)
-    def on_styleElementList_currentItemChanged(self, current, previous):
+    def on_styleElementList_currentItemChanged(self, current, _previous):
         """
         Private method to handle a change of the current row.
 
         @param current reference to the current item
         @type QTreeWidgetItem
-        @param previous reference to the previous item
+        @param _previous reference to the previous item (unused)
         @type QTreeWidgetItem
         """
         if current is None:

eric ide

mercurial