Use await
This commit is contained in:
parent
5541aae201
commit
566012f228
@ -427,7 +427,7 @@ async function onDictionaryMainChanged(e) {
|
|||||||
const optionsContext = getOptionsContext();
|
const optionsContext = getOptionsContext();
|
||||||
const options = await getOptionsMutable(optionsContext);
|
const options = await getOptionsMutable(optionsContext);
|
||||||
options.general.mainDictionary = value;
|
options.general.mainDictionary = value;
|
||||||
settingsSaveOptions();
|
await settingsSaveOptions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user