(self)
| 226 | self.mainFrame.command.Submit(cmd.GuiRemoveCommandFitsCommand(fitID=fitID, commandFitIDs=commandFitIDs)) |
| 227 | |
| 228 | def getSelectedCommandFits(self): |
| 229 | commandFits = [] |
| 230 | for row in self.getSelectedRows(): |
| 231 | try: |
| 232 | commandFit = self.fits[row] |
| 233 | except IndexError: |
| 234 | continue |
| 235 | commandFits.append(commandFit) |
| 236 | return commandFits |
| 237 | |
| 238 | # Context menu handlers |
| 239 | def addFit(self, fit): |
no test coverage detected