reset main dictionary on purge
This commit is contained in:
parent
4fb983a70c
commit
7783aa4c1a
@ -302,6 +302,7 @@ async function onDictionaryPurge(e) {
|
|||||||
await utilDatabasePurge();
|
await utilDatabasePurge();
|
||||||
const options = await optionsLoad();
|
const options = await optionsLoad();
|
||||||
options.dictionaries = {};
|
options.dictionaries = {};
|
||||||
|
options.dictionary.main = '';
|
||||||
await optionsSave(options);
|
await optionsSave(options);
|
||||||
|
|
||||||
await dictionaryGroupsPopulate(options);
|
await dictionaryGroupsPopulate(options);
|
||||||
|
Loading…
Reference in New Issue
Block a user