(self, callingWindow, fullContext, i)
| 27 | return _t('Save as New Implant Set') |
| 28 | |
| 29 | def activate(self, callingWindow, fullContext, i): |
| 30 | with NameDialog(self.mainFrame, '') as dlg: |
| 31 | if dlg.ShowModal() == wx.ID_OK: |
| 32 | name = dlg.input.GetLineText(0).strip() |
| 33 | if name == '': |
| 34 | return |
| 35 | from gui.setEditor import ImplantSetEditor |
| 36 | ImplantSetEditor.openOne(parent=self.mainFrame, dataToAdd=(name, self.implants)) |
| 37 | |
| 38 | |
| 39 | ImplantSetSave.register() |
nothing calls this directly
no test coverage detected