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

Method updateCharList

gui/esiFittings.py:330–339  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

328 event.Skip()
329
330 def updateCharList(self):
331 sEsi = Esi.getInstance()
332 chars = sEsi.getSsoCharacters()
333
334 self.charChoice.Clear()
335 for char in chars:
336 self.charChoice.Append(char.characterDisplay, char.ID)
337
338 if len(chars) > 0:
339 self.charChoice.SetSelection(0)
340
341 def kbEvent(self, event):
342 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:

Callers 1

__init__Method · 0.95

Calls 4

getSsoCharactersMethod · 0.80
SetSelectionMethod · 0.80
getInstanceMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected