(self, event)
| 174 | |
| 175 | |
| 176 | def OnProjectToFit(self, event): |
| 177 | activeFit = self.mainFrame.getActiveFit() |
| 178 | if activeFit: |
| 179 | sFit = Fit.getInstance() |
| 180 | projectedFit = sFit.getFit(self.fitID) |
| 181 | command = cmd.GuiAddProjectedFitsCommand(fitID=activeFit, projectedFitIDs=[projectedFit.ID], amount=1) |
| 182 | if self.mainFrame.command.Submit(command): |
| 183 | self.mainFrame.additionsPane.select("Projected") |
| 184 | |
| 185 | def OnAddCommandFit(self, event): |
| 186 | activeFit = self.mainFrame.getActiveFit() |
nothing calls this directly
no test coverage detected