Fixed an issue in UserInterface causing the switch to the shell via the keyboard shortcut to fail. eric7

Mon, 31 Oct 2022 17:54:41 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 31 Oct 2022 17:54:41 +0100
branch
eric7
changeset 9457
1e0a9199479e
parent 9456
94c606dba5d8
child 9458
3b41bb7d1623

Fixed an issue in UserInterface causing the switch to the shell via the keyboard shortcut to fail.

src/eric7/UI/UserInterface.py file | annotate | diff | comparison | revisions
--- 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