Mon, 03 Apr 2023 10:51:10 +0200
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