Skip to content

Commit

Permalink
Fix #371
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Oct 2, 2015
1 parent 30fef30 commit 365caca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gui/shipBrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1648,10 +1648,9 @@ def deleteBtnCB(self):
else:
dlg = wx.MessageDialog(self,
"Do you really want to delete this fit?",
"Confirm Delete", wx.OK | wx.CANCEL | wx.ICON_QUESTION)
result = dlg.ShowModal()
dlg.Destroy()
if result == wx.ID_OK:
"Confirm Delete", wx.YES | wx.NO | wx.ICON_QUESTION)

if dlg.ShowModal() == wx.ID_YES:
self.deleteFit()

def deleteFit(self, event=None):
Expand Down

0 comments on commit 365caca

Please sign in to comment.