# Do not open the sidebar when opening a directory in a new window \(\#53815\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0272aab3d67edc114643b92162ad7b93876f975b

Requested commit: 0272aab3d67edc114643b92162ad7b93876f975b

Commit: 0272aab3d67edc114643b92162ad7b93876f975b

Tree: cb62c8cbd759f4d393053078fa14cb406157137d

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Do not open the sidebar when opening a directory in a new window (#53815)

Follow-up to https://github.com/zed-industries/zed/pull/53778

Covers another case when opening a directory via the file picker _from a
blank project_

<img width="865" height="539" alt="image"
src="https://github.com/user-attachments/assets/43eb035b-4f0f-4e8c-bfa3-fbcd7b4beb13"
/>

resulted in 

<img width="1072" height="1162" alt="image"
src="https://github.com/user-attachments/assets/59c588b9-8925-41bb-b9fb-e4906c43c723"
/>


Release Notes:

- Fixed the sidebar opening when a new directory in a new window was
opened
```

## Parents

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

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