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

Method OnButtonAdd

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

Source from the content-addressed store, hash-verified

70 self.searchBox.SetFocus()
71
72 def OnButtonAdd(self, event):
73 event.Skip()
74 fits = self.fromList.GetSelectedFits()
75 if not fits:
76 return
77 self.fromList.removeFits(fits)
78 self.toList.addFits(fits)
79 self.fromList.unselectAll()
80 self.toList.unselectAll()
81
82 def OnButtonRemove(self, event):
83 event.Skip()

Callers

nothing calls this directly

Calls 4

GetSelectedFitsMethod · 0.80
removeFitsMethod · 0.80
addFitsMethod · 0.80
unselectAllMethod · 0.80

Tested by

no test coverage detected