diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js index cd60a7e9a5..a645632dbc 100644 --- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.js @@ -66,6 +66,7 @@ export default class PreferencesUserSettingsTab extends React.Component { autoLaunchSupported: false, minimizeToTray: true, minimizeToTraySupported: false, + autocompleteDelay: SettingsStore.getValueAt(SettingLevel.DEVICE, 'autocompleteDelay').toString(10), }; } @@ -98,6 +99,7 @@ export default class PreferencesUserSettingsTab extends React.Component { }; _onAutocompleteDelayChange = (e) => { + this.setState({autocompleteDelay: e.target.value}); SettingsStore.setValue("autocompleteDelay", null, SettingLevel.DEVICE, e.target.value); }; @@ -139,7 +141,7 @@ export default class PreferencesUserSettingsTab extends React.Component { {minimizeToTrayOption} {autoLaunchOption}