Fix adding tabs causing an exception because I forgot to extend the copied tabs list
This commit is contained in:
parent
5740173bdc
commit
de61262563
1 changed files with 1 additions and 0 deletions
|
|
@ -1338,6 +1338,7 @@ def new_tab(
|
|||
for w in t:
|
||||
w.created_in_session_name = session_name
|
||||
self._add_tab(t)
|
||||
tabs = tuple(tabs) + (t,)
|
||||
if as_neighbor:
|
||||
location = 'after'
|
||||
if location == 'neighbor':
|
||||
|
|
|
|||
Loading…
Reference in a new issue