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

Method onSecStatus

gui/characterEditor.py:513–520  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

511 toClipboard('\n'.join(lines))
512
513 def onSecStatus(self, event):
514 sChar = Character.getInstance()
515 char = self.charEditor.entityEditor.getActiveEntity()
516 with SecStatusDialog(self, char.secStatus or 0.0) as dlg:
517 if dlg.ShowModal() == wx.ID_OK:
518 value = dlg.floatSpin.GetValue()
519 sChar.setSecStatus(char, value)
520 self.btnSecStatus.SetLabel(self.secStatusLabel.format(value))
521
522 def delaySearch(self, evt):
523 if self.searchInput.GetValue() == "":

Callers

nothing calls this directly

Calls 6

SecStatusDialogClass · 0.85
getActiveEntityMethod · 0.80
setSecStatusMethod · 0.80
SetLabelMethod · 0.80
getInstanceMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected