Example #1
0
    def show(self):
        InventoryPage.show(self)
        if not self.tabBar:
            self.clearTabs()
            for id in range(3):
                self.addPanel(id)

        self.refreshList()
        self.tabBar.unstash()
        activeShipId = localAvatar.getActiveShipId()
        if activeShipId:
            self.tabBar.selectTab(activeShipId)
            self.showPanel(activeShipId)
    def show(self):
        InventoryPage.show(self)
        if not self.tabBar:
            self.clearTabs()
            for id in range(3):
                self.addPanel(id)


        self.refreshList()
        self.tabBar.unstash()
        activeShipId = localAvatar.getActiveShipId()
        if activeShipId:
            self.tabBar.selectTab(activeShipId)
            self.showPanel(activeShipId)