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

Method clearSearch

gui/builtinViews/implantEditor.py:289–299  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

287 self.Bind(wx.EVT_MOTION, self.OnMouseMove)
288
289 def clearSearch(self, event=None):
290 if self.IsShown():
291 self.parent.availableImplantsTree.Show()
292 self.Hide()
293 self.parent.Layout()
294
295 if event:
296 self.searchBox.Clear()
297
298 self.items = []
299 self.update(self.items)
300
301 def scheduleSearch(self, event=None):
302 sMkt = Market.getInstance()

Callers 1

scheduleSearchMethod · 0.95

Calls 4

HideMethod · 0.80
ShowMethod · 0.45
ClearMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected