From a1191ef3b35703d081a5e09f0f77b6511cdb9f37 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Mon, 1 Nov 2010 01:54:21 +0200 Subject: [PATCH] Reident + comment remove in multiswitch --- gui/multiSwitch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/multiSwitch.py b/gui/multiSwitch.py index c255d56d7..271ce7cdc 100644 --- a/gui/multiSwitch.py +++ b/gui/multiSwitch.py @@ -126,7 +126,6 @@ class MultiSwitch(wx.Notebook): self.AddTab() else: self.ignorePageChanged = False -# self.ChangeSelection(0) event.Veto() #Veto to prevent the + tab from being selected @@ -149,7 +148,7 @@ class MultiSwitch(wx.Notebook): def pageChanged(self, event): #On windows, we can't use the CHANGING event as its bugged, so we need to RECHECK here if event.Selection == self.GetPageCount() - 1: - selection = self.AddTab() + selection = self.AddTab() else: selection = event.Selection if "__WXMSW__" in wx.PlatformInfo: