diff -r b3d6208d2f33 -r 092821fb6f18 src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py --- a/src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py Sat Nov 04 16:10:40 2023 +0100 +++ b/src/eric7/Preferences/ConfigurationPages/EditorStylesPage.py Sat Nov 04 16:17:29 2023 +0100 @@ -597,7 +597,7 @@ @type QLineEdit """ bgColorStr = f"Annotations{annotationType}Background" - fgColorStr =f"Annotations{annotationType}Foreground" + fgColorStr = f"Annotations{annotationType}Foreground" color = QColorDialog.getColor( self.editorColours[bgColorStr]