(self, event)
| 150 | return items |
| 151 | |
| 152 | def fitChanged(self, event): |
| 153 | # skip the event so the other handlers also get called |
| 154 | event.Skip() |
| 155 | |
| 156 | if self.marketBrowser.mode != 'charges': |
| 157 | return |
| 158 | |
| 159 | activeFitID = self.mainFrame.getActiveFit() |
| 160 | # if it was not the active fitting that was changed, do not do anything |
| 161 | if activeFitID is not None and activeFitID not in event.fitIDs: |
| 162 | return |
| 163 | |
| 164 | items = self.getChargesForActiveFit() |
| 165 | |
| 166 | # update the UI |
| 167 | self.updateItemStore(items) |
| 168 | self.filterItemStore() |
| 169 | |
| 170 | def updateItemStore(self, items): |
| 171 | self.unfilteredStore = items |
nothing calls this directly
no test coverage detected