src/eric7/UI/UserInterface.py

branch
eric7
changeset 10511
eae654129780
parent 10505
5d6bb914036e
child 10518
1682f3203ae5
equal deleted inserted replaced
10510:fa7b8ebfbe13 10511:eae654129780
1558 self.bottomSidebar.show() 1558 self.bottomSidebar.show()
1559 self.bottomSidebar.setCurrentWidget(self.logViewer) 1559 self.bottomSidebar.setCurrentWidget(self.logViewer)
1560 self.bottomSidebar.raise_() 1560 self.bottomSidebar.raise_()
1561 else: 1561 else:
1562 if self.__layoutType == "Toolboxes": 1562 if self.__layoutType == "Toolboxes":
1563 self.hToolbox.setTabIcon( 1563 logViewerIndex = self.hToolbox.indexOf(self.logViewer)
1564 self.hToolbox.indexOf(self.logViewer), 1564 if self.hToolbox.currentIndex() != logViewerIndex:
1565 EricPixmapCache.getIcon("logViewerNew"), 1565 self.hToolbox.setTabIcon(
1566 ) 1566 logViewerIndex, EricPixmapCache.getIcon("logViewerNew")
1567 )
1567 elif self.__layoutType == "Sidebars": 1568 elif self.__layoutType == "Sidebars":
1568 self.bottomSidebar.setTabIcon( 1569 logViewerIndex = self.bottomSidebar.indexOf(self.logViewer)
1569 self.bottomSidebar.indexOf(self.logViewer), 1570 if self.bottomSidebar.currentIndex() != logViewerIndex:
1570 EricPixmapCache.getIcon("sbLogViewerNew96"), 1571 self.bottomSidebar.setTabIcon(
1571 ) 1572 logViewerIndex, EricPixmapCache.getIcon("sbLogViewerNew96")
1573 )
1572 1574
1573 def __openOnStartup(self, startupType=None): 1575 def __openOnStartup(self, startupType=None):
1574 """ 1576 """
1575 Private method to open the last file, project or multiproject. 1577 Private method to open the last file, project or multiproject.
1576 1578

eric ide

mercurial