# project_panel: Fix buffer focus when canceling filename edit \(\#40747\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 77dbe08d9d9c26dca41f53b420f26d2c5d74cc35

Requested commit: 77dbe08d9d9c26dca41f53b420f26d2c5d74cc35

Commit: 77dbe08d9d9c26dca41f53b420f26d2c5d74cc35

Tree: 7039c8c6033ccb3e69f1fca67b2851a6f5cecb0c

Author: Samuel Oldham

Committer: GitHub

## Message

```
project_panel: Fix buffer focus when canceling filename edit (#40747)

Closes #37726

Release Notes:

- Fixed an issue where the buffer would not regain focus when clicked
while a filename edit was in progress in the project panel.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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