TimeTracker/TimeTracker.py

changeset 93
7ffe7ae4947d
parent 92
81b63c2dc40c
child 94
a3d936304e51
equal deleted inserted replaced
92:81b63c2dc40c 93:7ffe7ae4947d
473 473
474 def __activateWidget(self): 474 def __activateWidget(self):
475 """ 475 """
476 Private slot to handle the activation of the project browser. 476 Private slot to handle the activation of the project browser.
477 """ 477 """
478 try: 478 uiLayoutType = self.__ui.getLayoutType()
479 uiLayoutType = self.__ui.getLayoutType()
480 except AttributeError:
481 # backward compatibility for eric < 18.08
482 uiLayoutType = self.__ui.layoutType
483 479
484 if uiLayoutType == "Toolboxes": 480 if uiLayoutType == "Toolboxes":
485 self.__ui.hToolboxDock.show() 481 self.__ui.hToolboxDock.show()
486 self.__ui.hToolbox.setCurrentWidget(self.__widget) 482 self.__ui.hToolbox.setCurrentWidget(self.__widget)
487 elif uiLayoutType == "Sidebars": 483 elif uiLayoutType == "Sidebars":

eric ide

mercurial