ShellWindow: fixed an issue related to the use of the virtual environment manager causing the shell window application not to start anymore.

Wed, 20 Jun 2018 18:34:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 20 Jun 2018 18:34:44 +0200
changeset 6358
1a274e1ef9c0
parent 6357
ceb3d7c25650
child 6359
e78be0616e6e

ShellWindow: fixed an issue related to the use of the virtual environment manager causing the shell window application not to start anymore.

QScintilla/ShellWindow.py file | annotate | diff | comparison | revisions
--- a/QScintilla/ShellWindow.py	Wed Jun 20 18:33:41 2018 +0200
+++ b/QScintilla/ShellWindow.py	Wed Jun 20 18:34:44 2018 +0200
@@ -36,6 +36,7 @@
 
 from Debugger.DebugServer import DebugServer
 from UI.SearchWidget import SearchWidget
+from VirtualEnv.VirtualenvManager import VirtualenvManager
 
 from eric6config import getConfig
 
@@ -94,6 +95,10 @@
         
         self.__shell.historyStyleChanged.connect(self.__historyStyleChanged)
         
+        # Generate the virtual environment manager and register it
+        self.virtualenvManager = VirtualenvManager(self)
+        e5App().registerObject("VirtualEnvManager", self.virtualenvManager)
+        
         # now start the debug client
         self.__debugServer.startClient(False)
         

eric ide

mercurial