Always have at least one tab shown in multiswitch (Empty tab) no matter what

This commit is contained in:
HomeWorld
2010-11-26 14:04:58 +02:00
parent e2db046d02
commit efc62d2959

View File

@@ -44,6 +44,8 @@ class MultiSwitch(gui.chromeTabs.PFNotebook):
def DeletePage(self, n, *args, **kwargs):
gui.chromeTabs.PFNotebook.DeletePage(self, n, *args, **kwargs)
if self.GetPageCount() == 0:
self.AddPage()
class BlankPage(wx.Panel):
def __init__(self, parent):