--- a/TimeTracker/TimeTracker.py Sat Mar 31 13:49:52 2018 +0200 +++ b/TimeTracker/TimeTracker.py Sun Jul 15 19:26:44 2018 +0200 @@ -473,10 +473,16 @@ """ Private slot to handle the activation of the project browser. """ - if self.__ui.layout == "Toolboxes": + try: + uiLayoutType = self.__ui.getLayoutType() + except AttributeError: + # backward compatibility for eric < 18.08 + uiLayoutType = self.__ui.layoutType + + if uiLayoutType == "Toolboxes": self.__ui.hToolboxDock.show() self.__ui.hToolboxDock.setCurrentWidget(self.__widget) - elif self.__ui.layout == "Sidebars": + elif uiLayoutType == "Sidebars": self.__ui.bottomSidebar.show() self.__ui.bottomSidebar.setCurrentWidget(self.__widget) else: