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

Method removeItem

gui/builtinViews/implantEditor.py:204–208  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

202 self.update()
203
204 def removeItem(self, event):
205 pos = self.pluggedImplantsTree.GetFirstSelected()
206 if pos != -1:
207 self.removeImplantFromContext(self.implants[pos])
208 self.update()
209
210 # Due to https://github.com/wxWidgets/Phoenix/issues/1372 we cannot set tooltips on
211 # tree itself; work this around with following two methods, by setting tooltip to

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95

Tested by

no test coverage detected