Fix preferences dialog

This commit is contained in:
blitzmann
2015-10-09 09:10:37 -07:00
parent f090cafa5c
commit ba9232e514
2 changed files with 1 additions and 2 deletions

View File

@@ -371,7 +371,6 @@ class MainFrame(wx.Frame):
def showPreferenceDialog(self, event):
dlg = PreferenceDialog(self)
dlg.ShowModal()
dlg.Destroy()
def goWiki(self, event):
wx.LaunchDefaultBrowser('https://github.com/DarkFenX/Pyfa/wiki')

View File

@@ -77,4 +77,4 @@ class PreferenceDialog(wx.Dialog):
self.btnOK.Bind(wx.EVT_BUTTON, self.OnBtnOK)
def OnBtnOK(self, event):
self.Destroy()
self.Close()