FIXME - seems that we remove the wrong image from the list

This commit is contained in:
HomeWorld
2010-10-09 23:07:18 +03:00
parent 6f49045113
commit 8641e7be1e

View File

@@ -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)