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

Method display

gui/builtinContextMenus/commandFitAdd.py:44–47  ·  view source on GitHub ↗
(self, callingWindow, srcContext)

Source from the content-addressed store, hash-verified

42 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
43
44 def display(self, callingWindow, srcContext):
45 if self.mainFrame.getActiveFit() is None or len(self.__class__.commandFits) == 0 or srcContext != "commandView":
46 return False
47 return True
48
49 def getText(self, callingWindow, itmContext):
50 return _t("Command Fits")

Callers

nothing calls this directly

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected