(self, fit)
| 158 | self.refreshContents(fit) |
| 159 | |
| 160 | def refreshContents(self, fit): |
| 161 | stuff = [] |
| 162 | if fit is not None: |
| 163 | self.fits = fit.commandFits[:] |
| 164 | self.fits.sort(key=self.fitSort) |
| 165 | stuff.extend(self.fits) |
| 166 | if not stuff: |
| 167 | stuff = [DummyEntry(_t("Drag a fit to this area"))] |
| 168 | self.update(stuff) |
| 169 | |
| 170 | def click(self, event): |
| 171 | mainRow, _ = self.HitTest(event.Position) |
no test coverage detected