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

Method ehpSwitch

gui/builtinStatsViews/resistancesViewFull.py:174–178  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

172 wx.PostEvent(self.mainFrame, GE.EffectiveHpToggled(effective=self.stEHPs.GetLabel() == _t("HP")))
173
174 def ehpSwitch(self, event):
175 event.Skip()
176 self.showEffective = event.effective
177 fitID = self.mainFrame.getActiveFit()
178 wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=(fitID,)))
179
180 def refreshPanel(self, fit):
181 # If we did anything intresting, we'd update our labels to reflect the new fit's stats here

Callers

nothing calls this directly

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected