src/eric7/UI/UserInterface.py

branch
eric7
changeset 9457
1e0a9199479e
parent 9448
ea215f7afab3
child 9470
34f2493c1d3f
diff -r 94c606dba5d8 -r 1e0a9199479e src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Mon Oct 31 16:32:14 2022 +0100
+++ b/src/eric7/UI/UserInterface.py	Mon Oct 31 17:54:41 2022 +0100
@@ -5673,11 +5673,11 @@
         Private slot to handle the activation of the Shell window.
         """
         if self.__layoutType == "Toolboxes":
-            self.__shellParent.show()
-            self.__shellParent.widget().setCurrentWidget(self.shellAssembly)
+            self.hToolboxDock.show()
+            self.hToolboxDock.setCurrentWidget(self.shellAssembly)
         elif self.__layoutType == "Sidebars":
-            self.__shellParent.show()
-            self.__shellParent.setCurrentWidget(self.shellAssembly)
+            self.bottomSidebar.show()
+            self.bottomSidebar.setCurrentWidget(self.shellAssembly)
         self.shell.setFocus(Qt.FocusReason.ActiveWindowFocusReason)
 
     def __activateLogViewer(self):

eric ide

mercurial