src/eric7/Preferences/ConfigurationPages/PipPage.py

branch
eric7
changeset 10742
7aa41173b44b
parent 10683
779cda568acb
child 10804
8fe0a5226fd5
diff -r 3a471962bb10 -r 7aa41173b44b src/eric7/Preferences/ConfigurationPages/PipPage.py
--- a/src/eric7/Preferences/ConfigurationPages/PipPage.py	Wed Jun 05 17:11:54 2024 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/PipPage.py	Thu Jun 06 18:01:54 2024 +0200
@@ -54,6 +54,9 @@
         )
         # seconds converted to hours
 
+        self.noGlobalsCheckBox.setChecked(
+            Preferences.getPip("ExcludeGlobalEnvironments")
+        )
         self.noCondaCheckBox.setChecked(Preferences.getPip("ExcludeCondaEnvironments"))
 
     def save(self):
@@ -78,6 +81,9 @@
         )
         # hours converted to seconds
 
+        Preferences.setPip(
+            "ExcludeGlobalEnvironments", self.noGlobalsCheckBox.isChecked()
+        )
         Preferences.setPip("ExcludeCondaEnvironments", self.noCondaCheckBox.isChecked())
 
 

eric ide

mercurial