Fixed CTRL+W bind

This commit is contained in:
HomeWorld
2010-11-19 14:33:05 +02:00
parent 88d66289da
commit b47a2c463e

View File

@@ -143,7 +143,10 @@ class MainFrame(wx.Frame):
# self.notebookBrowsers.SetSelection(tab)
def CloseCurrentFit(self, evt):
self.fitMultiSwitch.removeCurrentTab()
ms = self.fitMultiSwitch
page = ms.GetCurrentPage()
if page:
ms.DeletePage(ms.GetPageIndex(page))
def ExitApp(self, evt):
try: