# Fix tab switcher close item using wrong pane \(\#42138\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2895d31d8365b7c1c6ec6e3007bc8688019ab97f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2895d31d8365b7c1c6ec6e3007bc8688019ab97f

Requested commit: 2895d31d8365b7c1c6ec6e3007bc8688019ab97f

Commit: 2895d31d8365b7c1c6ec6e3007bc8688019ab97f

Tree: 4c19a365035f9a9c73aa5bde19aa754b7da982f0

Author: Andrew Farkas

Committer: GitHub

## Message

```
Fix tab switcher close item using wrong pane (#42138)

Closes #40646

Release Notes:

- Fixed `tab_switcher::CloseSelectedItem` doing nothing on tab in
inactive pane

Co-authored-by: Cole Miller <cole@zed.dev>
```

## Parents

- [a112153a2e8a18be8550c76f8532766acf15b3a6](https://git.cafe/gitcafe/zed/commit/a112153a2e8a18be8550c76f8532766acf15b3a6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2895d31d8365b7c1c6ec6e3007bc8688019ab97f?format=markdown)
