Preferences: fixed an issue setting the MicroPython chart color scheme.

Sat, 17 Oct 2020 16:31:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 Oct 2020 16:31:05 +0200
changeset 7793
f9aea82cf9a0
parent 7792
3919fdaa4e34
child 7794
61308586e0ed

Preferences: fixed an issue setting the MicroPython chart color scheme.

eric6/Preferences/__init__.py file | annotate | diff | comparison | revisions
--- a/eric6/Preferences/__init__.py	Sat Oct 17 15:49:46 2020 +0200
+++ b/eric6/Preferences/__init__.py	Sat Oct 17 16:31:05 2020 +0200
@@ -3561,7 +3561,7 @@
     @param prefClass preferences class used as the storage area
     @return the requested MicroPython value
     """
-    if key in ("SerialTimeout"):
+    if key in ("SerialTimeout", "ChartColorTheme"):
         return int(prefClass.settings.value(
             "MicroPython/" + key,
             prefClass.microPythonDefaults[key]))

eric ide

mercurial