(self, event=None)
| 227 | self.sMkt.searchItems(search, self.populateSearch, 'market') |
| 228 | |
| 229 | def clearSearch(self, event=None): |
| 230 | # Wipe item store and update everything to accomodate with it |
| 231 | # If clearSearch was generated by SearchCtrl's Cancel button, clear the content also |
| 232 | |
| 233 | if event: |
| 234 | self.marketBrowser.search.Clear() |
| 235 | |
| 236 | if self.marketBrowser.mode == 'search': |
| 237 | self.marketBrowser.mode = 'normal' |
| 238 | self.updateItemStore(set()) |
| 239 | self.setToggles() |
| 240 | self.filterItemStore() |
| 241 | |
| 242 | def populateSearch(self, itemIDs): |
| 243 | # If we're no longer searching, dump the results |
nothing calls this directly
no test coverage detected