# Fix editor's outline view confirm not working before any queries have \(\#26761\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8d7b021f92b74f43fd13029d3b16664617821996

Requested commit: 8d7b021f92b74f43fd13029d3b16664617821996

Commit: 8d7b021f92b74f43fd13029d3b16664617821996

Tree: b9c6ef6cfd7eccf34d76c4aa72260d5792678f8a

Author: Anthony Eid

Committer: GitHub

## Message

```
Fix editor's outline view confirm not working before any queries have (#26761)

## Summary
This PR fixes a minor bug where editor's outline view wouldn't move the
cursor on confirm before any outline queries have been made.

### Before 

https://github.com/user-attachments/assets/6ccca0c1-c0fa-46cb-b700-28a666d62ce8

### After

https://github.com/user-attachments/assets/d508e20b-90fb-471a-b974-431205501c89

Release Notes:

- Fixes bug where editor's outline view wouldn't move cursor on confirm
action
```

## Parents

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

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