Skip to content

Commit

Permalink
fixed subtle logic error and ex.ID value
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeJayhX committed Oct 11, 2015
1 parent f81109d commit 9b43eb5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,14 @@ def extrahosthostcheck(self, event):
'this box checked?',
caption='ATTENTION: Please be aware!',
style=wx.YES_NO|wx.YES_DEFAULT|wx.ICON_EXCLAMATION)
if dlg.ShowModal() == wx.NO:
self.extrahostbox.SetValue(False)
else:
return

if self.extrahostbox.GetValue() == True:
if dlg.ShowModal() == wx.ID_NO:
self.extrahostbox.SetValue(False)
else:
pass

dlg.Destroy()


def selectallapps(self, event):
Expand Down

0 comments on commit 9b43eb5

Please sign in to comment.