Close update dialog, don't destroy (OSX bug fixes)

This commit is contained in:
blitzmann
2015-10-09 17:43:23 -04:00
parent 4baa6e9e9f
commit 6c80d15f1d
2 changed files with 1 additions and 2 deletions

View File

@@ -196,7 +196,6 @@ class MainFrame(wx.Frame):
def ShowUpdateBox(self, release):
dlg = UpdateDialog(self, release)
dlg.ShowModal()
dlg.Destroy()
def LoadPreviousOpenFits(self):
sFit = service.Fit.getInstance()

View File

@@ -107,7 +107,7 @@ class UpdateDialog(wx.Dialog):
self.Centre( wx.BOTH )
def OnClose(self, e):
self.Destroy()
self.Close()
def SuppressChange(self, e):
if (self.supressCheckbox.IsChecked()):