Set maximum value for auto-save-interval correctly

This commit is contained in:
Florian Bruhin 2016-08-08 08:47:21 +02:00
parent 627f743c26
commit 64566fff35
2 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ Fixed
- Fixed crash when doing `:<space><enter>`, another corner-case introduced in v0.8.0
- Fixed `:open-editor` (`<Ctrl-e>`) on Windows
- Fixed crash when setting `general -> auto-save-interval` to a too big value.
v0.8.2
------

View File

@ -154,7 +154,7 @@ def data(readonly=False):
"Whether to save the config automatically on quit."),
('auto-save-interval',
SettingValue(typ.Int(minval=0), '15000'),
SettingValue(typ.Int(minval=0, maxval=MAXVALS['int']), '15000'),
"How often (in milliseconds) to auto-save config/cookies/etc."),
('editor',