src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py

branch
eric7
changeset 10303
ee1aadab1215
parent 10282
092821fb6f18
child 10428
a071d4065202
diff -r 8cb0dabf852f -r ee1aadab1215 src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py
--- a/src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py	Sat Nov 11 10:13:29 2023 +0100
+++ b/src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py	Sat Nov 11 12:44:51 2023 +0100
@@ -610,9 +610,7 @@
                 self.editorColours[fgColorStr] if isBackground else color,
                 color if isBackground else self.editorColours[bgColorStr],
             )
-            self.editorColours[
-                bgColorStr if isBackground else fgColorStr
-            ] = color
+            self.editorColours[bgColorStr if isBackground else fgColorStr] = color
 
     @pyqtSlot()
     def on_annotationsWarningFgButton_clicked(self):

eric ide

mercurial