# debugger: Fix UI would not update when you select the \`Current State\` option \(\#44340\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d1e45e27deeb0c4164c670a5f007b383f932deed

Requested commit: d1e45e27deeb0c4164c670a5f007b383f932deed

Commit: d1e45e27deeb0c4164c670a5f007b383f932deed

Tree: 11bba8011c3e0a4edcc34cac686076b27a1b3008

Author: Remco Smits

Committer: GitHub

## Message

```
debugger: Fix UI would not update when you select the `Current State` option (#44340)

This PR fixes that the `Current State` option inside the history
dropdown does not updating the UI. This was because we didn't send the
`SessionEvent::HistoricSnapshotSelected` event in the reset case. This
was just a mistake.

**After**


https://github.com/user-attachments/assets/6df5f990-fd66-4c6b-9633-f85b422fb95a

cc @Anthony-Eid

Release Notes:

- N/A
```

## Parents

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

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