MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/fitCommands/gui/localModule/add.py:14–19  ·  view source on GitHub ↗
(self, fitID, itemID)

Source from the content-addressed store, hash-verified

12class GuiAddLocalModuleCommand(wx.Command):
13
14 def __init__(self, fitID, itemID):
15 wx.Command.__init__(self, True, 'Add Local Module')
16 self.internalHistory = InternalCommandHistory()
17 self.fitID = fitID
18 self.itemID = itemID
19 self.savedRemovedDummies = None
20
21 def Do(self):
22 cmd = CalcAddLocalModuleCommand(fitID=self.fitID, newModInfo=ModuleInfo(itemID=self.itemID))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected