Small fix in fitting view tab (usage of Hide() when the object doesn't have that attribute)
This commit is contained in:
@@ -49,7 +49,6 @@ class MultiSwitch(wx.Notebook):
|
|||||||
|
|
||||||
def AddTab(self, type="fit", frame=None, title=None):
|
def AddTab(self, type="fit", frame=None, title=None):
|
||||||
#Hide current selection
|
#Hide current selection
|
||||||
self.GetCurrentPage().Hide()
|
|
||||||
|
|
||||||
pos = self.GetPageCount() - 1
|
pos = self.GetPageCount() - 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user