src/eric7/UI/UserInterface.py

branch
server
changeset 10724
6299dec09231
parent 10718
c9252721680b
child 10738
37101524dd76
diff -r 88bec462b855 -r 6299dec09231 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Tue May 21 19:31:08 2024 +0200
+++ b/src/eric7/UI/UserInterface.py	Tue May 21 19:31:50 2024 +0200
@@ -319,15 +319,19 @@
         # create the remote server interface
         logging.debug("Creating 'eric-ide' Server Interface...")
         self.__ericServerInterface = EricServerInterface(self)
+        # register it early because it is needed very soon
+        ericApp().registerObject("EricServer", self.__ericServerInterface)
 
         # Generate the conda interface
         logging.debug("Creating Conda Interface...")
         self.condaInterface = Conda(self)
+        # register it early because it is needed very soon
         ericApp().registerObject("Conda", self.condaInterface)
 
         # Generate the pip interface
         logging.debug("Creating Pip Interface...")
         self.pipInterface = Pip(self)
+        # register it early because it is needed very soon
         ericApp().registerObject("Pip", self.pipInterface)
 
         # Generate the virtual environment manager
@@ -665,7 +669,6 @@
             ericApp().registerObject("MicroPython", self.microPythonWidget)
         ericApp().registerObject("JediAssistant", self.jediAssistant)
         ericApp().registerObject("PluginRepositoryViewer", self.pluginRepositoryViewer)
-        ericApp().registerObject("EricServer", self.__ericServerInterface)
 
         # create the various JSON file interfaces
         self.__sessionFile = SessionFile(True)

eric ide

mercurial