Use await

This commit is contained in:
toasted-nutbread 2020-02-01 11:40:17 -05:00
parent 5541aae201
commit 566012f228

View File

@ -427,7 +427,7 @@ async function onDictionaryMainChanged(e) {
const optionsContext = getOptionsContext();
const options = await getOptionsMutable(optionsContext);
options.general.mainDictionary = value;
settingsSaveOptions();
await settingsSaveOptions();
}