Configuration Dialog eric7

Mon, 03 Apr 2023 10:51:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 03 Apr 2023 10:51:10 +0200
branch
eric7
changeset 9963
05b441099da7
parent 9960
f78a1dc5d003
child 9964
a298db96ba65

Configuration Dialog
- fixed an issue in the standalone configuration window caused by the 'pip' interface not being available

src/eric7/Preferences/ConfigurationDialog.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Preferences/ConfigurationDialog.py	Sun Apr 02 17:57:47 2023 +0200
+++ b/src/eric7/Preferences/ConfigurationDialog.py	Mon Apr 03 10:51:10 2023 +0200
@@ -154,6 +154,14 @@
                 self.virtualenvManager = VirtualenvManager(self)
                 ericApp().registerObject("VirtualEnvManager", self.virtualenvManager)
 
+            from eric7.PipInterface.Pip import Pip
+
+            try:
+                self.pip = ericApp().getObject("Pip")
+            except KeyError:
+                self.pip = Pip(self)
+                ericApp().registerObject("Pip", self.pip)
+
         if displayMode == ConfigurationMode.DEFAULTMODE:
             self.configItems = {
                 # key : [display string, pixmap name, dialog module name or

eric ide

mercurial