# settings_ui: Fix file header from showing duplicate display names \(\#40943\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ca4103246fe195527133542bad9a1d19fba22b86

Requested commit: ca4103246fe195527133542bad9a1d19fba22b86

Commit: ca4103246fe195527133542bad9a1d19fba22b86

Tree: 35cfa5c00bfd1eb4a970db96f8d9d1d9021830b4

Author: Anthony Eid

Committer: GitHub

## Message

```
settings_ui: Fix file header from showing duplicate display names (#40943)

After clicking on the file drop-down and selecting a file, both the
selected file and the first drop-down entry would be the same file name
instead of overwriting a file name.

Release Notes:

- settings ui: Fix bug where duplicate file names showed in the header
files
```

## Parents

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

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