From 8641e7be1e7bd7697289064e810010bd2fe36ce9 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Sat, 9 Oct 2010 23:07:18 +0300 Subject: [PATCH] FIXME - seems that we remove the wrong image from the list --- gui/multiSwitch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/multiSwitch.py b/gui/multiSwitch.py index 5b98e007e..eec93f8a8 100644 --- a/gui/multiSwitch.py +++ b/gui/multiSwitch.py @@ -78,7 +78,10 @@ class MultiSwitch(wx.Notebook): def removeTab(self, i): if self.GetPageCount() > 2: - self.ImageList.Remove(self.GetPageImage(i)) + +### FIXME - seems that we remove the wrong image from the list +# self.ImageList.Remove(self.GetPageImage(i)) +### self.DeletePage(i) else: self.setTabTitle(i, None)