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

Method __init__

gui/builtinContextMenus/moduleSpool.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 visibilitySetting = 'spoolup'
19
20 def __init__(self):
21 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
22 self.resetId = None
23
24 def display(self, callingWindow, srcContext, mainItem):
25 if srcContext not in ('fittingModule', 'projectedModule') or self.mainFrame.getActiveFit() is None:

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected