Fix bug that caused race image to not appear in fitting tab

This commit is contained in:
blitzmann
2017-11-12 23:58:30 -05:00
parent 1fc9b2941d
commit 8cbb327659

View File

@@ -297,7 +297,7 @@ class ChromeNotebook(wx.Panel):
def SetPageIcon(self, i, icon, refresh=True):
tab = self.tabs_container.tabs[i]
tab.tabImg = icon
tab.tab_img = icon
if refresh:
self.tabs_container.AdjustTabsSize()
self.Refresh()