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

Method __init__

gui/fitCommands/gui/localModule/swap.py:12–17  ·  view source on GitHub ↗
(self, fitID, position1, position2)

Source from the content-addressed store, hash-verified

10class GuiSwapLocalModulesCommand(wx.Command):
11
12 def __init__(self, fitID, position1, position2):
13 wx.Command.__init__(self, True, 'Swap Local Modules')
14 self.internalHistory = InternalCommandHistory()
15 self.fitID = fitID
16 self.position1 = position1
17 self.position2 = position2
18
19 def Do(self):
20 if self.position1 == self.position2:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected