Minor tweaks per PR review
This commit is contained in:
@@ -37,7 +37,8 @@ class MultiSwitch(ChromeNotebook):
|
||||
if h:
|
||||
h(type, info)
|
||||
|
||||
def AddPage(self, tabWnd=None, tabTitle="Empty Tab", tabImage=None):
|
||||
def AddPage(self, tabWnd=None, tabTitle=None, tabImage=None):
|
||||
tabTitle = tabTitle or _("Empty Tab")
|
||||
if tabWnd is None:
|
||||
tabWnd = gui.builtinViews.emptyView.BlankPage(self)
|
||||
tabWnd.handleDrag = lambda type, info: self.handleDrag(type, info)
|
||||
|
||||
Reference in New Issue
Block a user