示例#1
0
 def activate(self, callingWindow, fullContext, i):
     with NameDialog(self.mainFrame, '') as dlg:
         if dlg.ShowModal() == wx.ID_OK:
             name = dlg.input.GetLineText(0).strip()
             if name == '':
                 return
             from gui.setEditor import ImplantSetEditor
             ImplantSetEditor.openOne(parent=self.mainFrame,
                                      dataToAdd=(name, self.implants))
示例#2
0
 def OnShowImplantSetEditor(self, event):
     ImplantSetEditor.openOne(parent=self)