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

Method scheduleSearch

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

Source from the content-addressed store, hash-verified

299 self.update(self.items)
300
301 def scheduleSearch(self, event=None):
302 sMkt = Market.getInstance()
303
304 search = self.searchBox.GetLineText(0)
305 # Make sure we do not count wildcards as search symbol
306 realsearch = search.replace('*', '').replace('?', '')
307 # Show nothing if query is too short
308 if len(realsearch) < 3:
309 self.clearSearch()
310 return
311
312 sMkt.searchItems(search, self.populateSearch, 'implants')
313
314 def populateSearch(self, itemIDs):
315 if not self.IsShown():

Callers

nothing calls this directly

Calls 5

clearSearchMethod · 0.95
GetLineTextMethod · 0.80
replaceMethod · 0.80
searchItemsMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected