# Fix integer underflow in autosave mode after delay in the settings \(\#41898\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1e1480405a5ff5bb0bc4008ca6e313cfc5f977b6

Requested commit: 1e1480405a5ff5bb0bc4008ca6e313cfc5f977b6

Commit: 1e1480405a5ff5bb0bc4008ca6e313cfc5f977b6

Tree: 7c3017a783856eb89f3ff3d3c3168b228c2ad009

Author: Ignasius

Committer: GitHub

## Message

```
Fix integer underflow in autosave mode after delay in the settings (#41898)

Closes #41774 

Release Notes:

- settings_ui: Fixed an integer underflow panic when attempting to hit
the `-` sign on settings item that take delays in milliseconds
```

## Parents

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

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