Fix #4932
This commit is contained in:
parent
e8a9bbb51d
commit
3ec93e0b4e
1 changed files with 2 additions and 0 deletions
|
|
@ -961,6 +961,8 @@ def new_tab(
|
|||
location = 'after'
|
||||
if location == 'neighbor':
|
||||
location = 'after'
|
||||
if location == 'default':
|
||||
location = 'last'
|
||||
if len(self.tabs) > 1 and location != 'last':
|
||||
if location == 'first':
|
||||
desired_idx = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue