479 # backward compatibility for eric < 18.08 |
479 # backward compatibility for eric < 18.08 |
480 uiLayoutType = self.__ui.layoutType |
480 uiLayoutType = self.__ui.layoutType |
481 |
481 |
482 if uiLayoutType == "Toolboxes": |
482 if uiLayoutType == "Toolboxes": |
483 self.__ui.hToolboxDock.show() |
483 self.__ui.hToolboxDock.show() |
484 self.__ui.hToolboxDock.setCurrentWidget(self.__widget) |
484 self.__ui.hToolbox.setCurrentWidget(self.__widget) |
485 elif uiLayoutType == "Sidebars": |
485 elif uiLayoutType == "Sidebars": |
486 self.__ui.bottomSidebar.show() |
486 self.__ui.bottomSidebar.show() |
487 self.__ui.bottomSidebar.setCurrentWidget(self.__widget) |
487 self.__ui.bottomSidebar.setCurrentWidget(self.__widget) |
488 else: |
488 else: |
489 self.__widget.show() |
489 self.__widget.show() |