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

Method OnFitChanged

graphs/gui/frame.py:133–141  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

131 self.draw()
132
133 def OnFitChanged(self, event):
134 event.Skip()
135 for fitID in event.fitIDs:
136 self.clearCache(reason=GraphCacheCleanupReason.fitChanged, extraData=fitID)
137 self.ctrlPanel.OnFitChanged(event)
138 # Data has to be recalculated - delay redraw
139 # to give time to finish UI update in main window
140 self.drawTimer.Stop()
141 self.drawTimer.Start(REDRAW_DELAY, True)
142
143 def OnFitRemoved(self, event):
144 event.Skip()

Callers

nothing calls this directly

Calls 2

clearCacheMethod · 0.95
StopMethod · 0.80

Tested by

no test coverage detected