Add in logic that required an entity for implant sets and target resists (not needed for character or damage profiles as we have read-only defaults)

This commit is contained in:
blitzmann
2016-03-30 00:03:48 -04:00
parent 1161037092
commit 39b2f87194
4 changed files with 47 additions and 11 deletions

View File

@@ -359,9 +359,7 @@ class MainFrame(wx.Frame):
dlg.Show()
def showTargetResistsEditor(self, event):
dlg=ResistsEditorDlg(self)
dlg.ShowModal()
dlg.Destroy()
ResistsEditorDlg(self)
def showDamagePatternEditor(self, event):
dlg=DmgPatternEditorDlg(self)
@@ -369,9 +367,7 @@ class MainFrame(wx.Frame):
dlg.Destroy()
def showImplantSetEditor(self, event):
dlg=ImplantSetEditorDlg(self)
dlg.ShowModal()
dlg.Destroy()
ImplantSetEditorDlg(self)
def showExportDialog(self, event):
""" Export active fit """