(self, callingWindow, fullContext, mainItem, i)
| 41 | itmContext, '' if self.amount == 1 else ' (x{})'.format(self.amount)) |
| 42 | |
| 43 | def activate(self, callingWindow, fullContext, mainItem, i): |
| 44 | command = cmd.GuiAddLocalDroneCommand( |
| 45 | fitID=self.mainFrame.getActiveFit(), |
| 46 | itemID=int(mainItem.ID), |
| 47 | amount=self.amount) |
| 48 | if self.mainFrame.command.Submit(command): |
| 49 | self.mainFrame.additionsPane.select('Drones', focus=False) |
| 50 | |
| 51 | |
| 52 | DroneAddStack.register() |
nothing calls this directly
no test coverage detected