Fixed some issues in the changed Preferences module. eric7

Fri, 03 Sep 2021 19:56:55 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 03 Sep 2021 19:56:55 +0200
branch
eric7
changeset 8574
e5d88ab9d84d
parent 8573
77845f40ebfe
child 8575
423c4db4101e

Fixed some issues in the changed Preferences module.

eric7/Preferences/__init__.py file | annotate | diff | comparison | revisions
diff -r 77845f40ebfe -r e5d88ab9d84d eric7/Preferences/__init__.py
--- a/eric7/Preferences/__init__.py	Fri Sep 03 19:56:21 2021 +0200
+++ b/eric7/Preferences/__init__.py	Fri Sep 03 19:56:55 2021 +0200
@@ -1802,7 +1802,7 @@
     """
     if key == "Python3Extensions":
         exts = []
-        for ext in getDebugger(key, Prefs).split():
+        for ext in getDebugger(key).split():
             if ext.startswith("."):
                 exts.append(ext)
             else:
@@ -1830,7 +1830,7 @@
     @param value the value to be set
     """
     if key == "Python3Extensions":
-        setDebugger(key, value, Prefs)
+        setDebugger(key, value)
     elif key in (
         "ASTViewerErrorColor", "DisViewerErrorColor",
         "DisViewerCurrentColor", "DisViewerLabeledColor",

eric ide

mercurial