diff --git a/eos b/eos index 39c85374b..66d215ab1 160000 --- a/eos +++ b/eos @@ -1 +1 @@ -Subproject commit 39c85374b98bea389dfa159b32a1003aa4719105 +Subproject commit 66d215ab1a701025a14195614ff5e88e8a51a965 diff --git a/miniframe.py b/miniframe.py index cf238c8c2..73da5792b 100755 --- a/miniframe.py +++ b/miniframe.py @@ -768,8 +768,7 @@ class PFTabsContainer(wx.Window): self.tabs[self.GetTabsCount() - 1].SetSelected(True) else: self.tabs[tab].SetSelected(True) - elif self.GetTabsCount() == 0: - self.Destroy() + self.AdjustTabsSize() self.Refresh() @@ -807,7 +806,7 @@ class PFTabsContainer(wx.Window): tabsWidth += tab.tabWidth - self.inclination*2 pos = tabsWidth - + selected = None for i in xrange(len(self.tabs) - 1, -1, -1): tab = self.tabs[i] width = tab.tabWidth - self.inclination*2