Fix initial tab bar visibility when starting a session with multiple tabs
This commit is contained in:
parent
a52f0939df
commit
fe7f3233ba
1 changed files with 2 additions and 0 deletions
|
|
@ -308,6 +308,8 @@ def __init__(self, opts, args):
|
|||
def init(self, startup_session):
|
||||
self.tabs = [Tab(self.opts, self.args, self.title_changed, t) for t in startup_session.tabs]
|
||||
self.active_tab_idx = startup_session.active_tab_idx
|
||||
if len(self.tabs) > 1:
|
||||
get_boss().tabbar_visibility_changed()
|
||||
self.update_tab_bar()
|
||||
|
||||
def update_tab_bar(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue