Always have at least one tab shown in multiswitch (Empty tab) no matter what
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user