-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix selection of new active tab when stashing the active tab
When we stash the active tab, we need to choose a new tab to become the active tab. We were doing this calculation improperly, because we were slicing into a filtered list of tabs rather than the actual list of tabs present in the window. This would cause us to choose a tab that was offset by the number of pinned+hidden tabs in the window. Fix this and add some tests to make sure we choose the correct tab. Closes #369.
- Loading branch information
1 parent
abe5bc1
commit 09b7193
Showing
4 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters