(self, event)
| 58 | return sub |
| 59 | |
| 60 | def handleMode(self, event): |
| 61 | optionLabel = self.optionIds[event.Id] |
| 62 | optionValue = optionMap[optionLabel] |
| 63 | changedFitIDs = set() |
| 64 | for wrapper in self.selection: |
| 65 | if wrapper.isFit and wrapper.resistMode != optionValue: |
| 66 | wrapper.resistMode = optionValue |
| 67 | changedFitIDs.add(wrapper.item.ID) |
| 68 | wx.PostEvent(gui.mainFrame.MainFrame.getInstance(), ResistModeChanged(fitIDs=changedFitIDs)) |
| 69 | |
| 70 | |
| 71 | TargetWrapperResists.register() |
nothing calls this directly
no test coverage detected