diff options
author | praschke <stel@comfy.monster> | 2023-10-23 21:14:52 +0100 |
---|---|---|
committer | praschke <stel@comfy.monster> | 2023-10-23 21:27:42 +0100 |
commit | 7b9f18320c2f0d9dc37d65966f02cdde2c0c5b5e (patch) | |
tree | 9131a8533796f1b1397ee4a8d256135678fd0cd7 /dev/database-vm.js | |
parent | c3148c6cf0522c5a3b3f3db6e495f401050c73f7 (diff) |
fix: save options after updating them
_optionsUtil.save() is only called in _saveOptions, which is only
called through
- _onApiSetAllSettings
- _onApiModifySettings
- _onCommandToggleTextScanning
it should be safe to simply save settings after updating them.
without saving, the options will be updated every time the background
restarts, until any settings are modified or text scanning is
toggled. for _updateVersion21, this means the welcome page will open
repeatedly to show the same warning.
Diffstat (limited to 'dev/database-vm.js')
0 files changed, 0 insertions, 0 deletions