# workspace: Fix read-only pane buttons being clickable even when a no-op \(\#46065\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9cdb986fd4b44ce39736f0baa4ee95bb4bfe8aa9

Requested commit: 9cdb986fd4b44ce39736f0baa4ee95bb4bfe8aa9

Commit: 9cdb986fd4b44ce39736f0baa4ee95bb4bfe8aa9

Tree: 12d455e2b36292677ab4ac31c36c2cf3d3e09227

Author: Lukas Wirth

Committer: GitHub

## Message

```
workspace: Fix read-only pane buttons being clickable even when a no-op (#46065)

The button was clickable for read-only panes even if the underlying item
is not write-toggleable.

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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