(self, event)
| 93 | return sub |
| 94 | |
| 95 | def handleSelection(self, event): |
| 96 | fit = self.fitMenuItemIds[event.Id] |
| 97 | if fit is False or fit not in self.__class__.commandFits: |
| 98 | event.Skip() |
| 99 | return |
| 100 | |
| 101 | fitID = self.mainFrame.getActiveFit() |
| 102 | self.mainFrame.command.Submit(cmd.GuiAddCommandFitsCommand(fitID=fitID, commandFitIDs=[fit.ID])) |
| 103 | |
| 104 | |
| 105 | AddCommandFit.populateFits(None) |
nothing calls this directly
no test coverage detected