Preferences/ConfigurationPages/InterfacePage.py

branch
pypi
changeset 6803
4a6257252525
parent 6785
058d63c537a4
--- a/Preferences/ConfigurationPages/InterfacePage.py	Sat Feb 23 13:23:09 2019 +0100
+++ b/Preferences/ConfigurationPages/InterfacePage.py	Sat Feb 23 15:02:24 2019 +0100
@@ -102,7 +102,8 @@
         # right side
         self.codeDocumentationViewerCheckBox.setChecked(
             Preferences.getUI("ShowCodeDocumentationViewer"))
-        # TODO: add entry for "ShowPyPIPackageManager"
+        self.pypiCheckBox.setChecked(
+            Preferences.getUI("ShowPyPIPackageManager"))
         self.condaCheckBox.setChecked(
             Preferences.getUI("ShowCondaPackageManager"))
         self.cooperationCheckBox.setChecked(
@@ -202,7 +203,9 @@
         Preferences.setUI(
             "ShowCodeDocumentationViewer",
             self.codeDocumentationViewerCheckBox.isChecked())
-        # TODO: add entry for "ShowPyPIPackageManager"
+        Preferences.setUI(
+            "ShowPyPIPackageManager",
+            self.pypiCheckBox.isChecked())
         Preferences.setUI(
             "ShowCondaPackageManager",
             self.condaCheckBox.isChecked())

eric ide

mercurial