[fix] allow empty autocomplete setting

closes #756
closes #761
This commit is contained in:
Adam Tauber 2016-11-14 16:17:11 +01:00
parent 43ddbc60da
commit 96f182d75d
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class Preferences(object):
'locale': EnumStringSetting(settings['ui']['default_locale'],
choices=settings['locales'].keys()),
'autocomplete': EnumStringSetting(settings['search']['autocomplete'],
choices=autocomplete.backends.keys()),
choices=autocomplete.backends.keys() + ['']),
'image_proxy': MapSetting(settings['server']['image_proxy'],
map={'': settings['server']['image_proxy'],
'0': False,