MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / fitChanged

Method fitChanged

gui/statsPane.py:72–80  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

70 pyfalog.error("Unknown setting for view: {0}", aView)
71
72 def fitChanged(self, event):
73 event.Skip()
74 activeFitID = self.mainFrame.getActiveFit()
75 if activeFitID is not None and activeFitID not in event.fitIDs:
76 return
77 sFit = Fit.getInstance()
78 fit = sFit.getFit(activeFitID)
79 for view in self.views:
80 view.refreshPanel(fit)
81
82 def __init__(self, parent):
83 wx.Panel.__init__(self, parent)

Callers

nothing calls this directly

Calls 4

getFitMethod · 0.80
getActiveFitMethod · 0.45
getInstanceMethod · 0.45
refreshPanelMethod · 0.45

Tested by

no test coverage detected