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

Method activate

gui/builtinContextMenus/fitOpenNewTab.py:39–42  ·  view source on GitHub ↗
(self, callingWindow, fullContext, mainItem, i)

Source from the content-addressed store, hash-verified

37 return _t("Open Fit in New Tab")
38
39 def activate(self, callingWindow, fullContext, mainItem, i):
40 if isinstance(mainItem, BaseWrapper):
41 mainItem = mainItem.item
42 wx.PostEvent(self.mainFrame, FitSelected(fitID=mainItem.ID, startup=2))
43
44
45OpenFitInNewTab.register()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected