# outline_panel: Fix Pin/Unpin tooltip does not update after state changes \(\#54310\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3323581009fb9a59534222539e8589dfe3dcb617

Requested commit: 3323581009fb9a59534222539e8589dfe3dcb617

Commit: 3323581009fb9a59534222539e8589dfe3dcb617

Tree: 614fa7bbe89da6acd474ff6b450b4adcac8c495e

Author: galuis116

Committer: GitHub

## Message

```
outline_panel: Fix Pin/Unpin tooltip does not update after state changes (#54310)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #54309 

Release Notes:

- Fixed an outline panel issue where the pin/unpin tooltip could show
stale text after toggling.
```

## Parents

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

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