Do not show implant set editor if user cancels addition of an implant set

This commit is contained in:
DarkPhoenix
2019-12-16 18:06:03 +03:00
parent dee8fa400c
commit 8c2788fd78
4 changed files with 73 additions and 25 deletions

View File

@@ -442,8 +442,8 @@ class MainFrame(wx.Frame):
def OnShowDamagePatternEditor(self, event):
DmgPatternEditor.openOne(parent=self)
def OnShowImplantSetEditor(self, event, dataToAdd=None):
ImplantSetEditor.openOne(parent=self, dataToAdd=dataToAdd)
def OnShowImplantSetEditor(self, event):
ImplantSetEditor.openOne(parent=self)
def OnShowExportDialog(self, event):
""" Export active fit """