From 768323904de02bfc3629fe44e5b4b059cbadc350 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Tue, 23 Nov 2010 08:59:07 +0200 Subject: [PATCH] Revert "Readd close code at the correct place" This reverts commit 64458ec906eb129ef2ca2c8af4775c82dd0fd884. --- gui/multiSwitch.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gui/multiSwitch.py b/gui/multiSwitch.py index 37941306b..bd51ee594 100644 --- a/gui/multiSwitch.py +++ b/gui/multiSwitch.py @@ -19,7 +19,6 @@ import wx import gui.chromeTabs -import gui.mainFrame class MultiSwitch(gui.chromeTabs.PFNotebook): def __init__(self, parent): @@ -46,12 +45,6 @@ class MultiSwitch(gui.chromeTabs.PFNotebook): gui.chromeTabs.PFNotebook.AddPage(self, tabWnd, tabTitle, tabImage, True) - def DeletePage(self, n): - if self.GetPageCount() > 1: - gui.chromeTabs.PFNotebook.DeletePage(self, n) - else: - gui.mainFrame.MainFrame.getInstance().Close() - class TabSpawner(object): tabTypes = [] @classmethod