# Fix crash when moving panels \(\#52366\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 954409d3a2704cbae5e8aedee0f48ab7e1439b36

Requested commit: 954409d3a2704cbae5e8aedee0f48ab7e1439b36

Commit: 954409d3a2704cbae5e8aedee0f48ab7e1439b36

Tree: 175b0eb45a4e89ada6721be5e0a1d15841f87ad0

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix crash when moving panels (#52366)

Fixes a crash introduced by removing some defensive code in
https://github.com/zed-industries/zed/pull/52276

Release Notes:

- N/A

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
```

## Parents

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

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