diff --git a/js/preset.js b/js/preset.js index 54834fa..e3e0692 100644 --- a/js/preset.js +++ b/js/preset.js @@ -128,7 +128,7 @@ function preset_updateList() { * @param {string} presetName The preset name to be applied. */ function preset_apply(presetName) { - const presets = require('electron-settings').get(`presets.${presetName}`); + const presets = require('electron-settings').get(`presets`)[presetName]; appendLog(`preset_apply(): preset ${presetName}: ${JSON.stringify(presets)}`); var ret = require('electron-settings').set("latest_controller_tabs_settings", presets); appendLog(`preset_apply(): saved preset: ${JSON.stringify(ret)}`);