fix error
This commit is contained in:
parent
f314d98aa1
commit
26e35b4ec6
1 changed files with 2 additions and 2 deletions
|
@ -399,8 +399,8 @@
|
|||
notyf.success("Saved Preset")
|
||||
},
|
||||
exportPreset() {
|
||||
app.cfg.audio.equalizer.presets.find(p => p.preset == app.cfg.audio.equalizer.preset)
|
||||
const jsonObj = {"name": preset.name, "frequency": preset.frequencies, "gain": newPreset.gain, "q": preset.Q, "preamp": preset.preamp, "mix": preset.mix, "vibrantBass": preset.vibrantBass};
|
||||
const preset = app.cfg.audio.equalizer.presets.find(p => p.preset == app.cfg.audio.equalizer.preset)
|
||||
const jsonObj = {"name": preset.name, "frequency": preset.frequencies, "gain": preset.gain, "q": preset.Q, "preamp": preset.preamp, "mix": preset.mix, "vibrantBass": preset.vibrantBass};
|
||||
ipcRenderer.send("export-eq", JSON.stringify(jsonObj))
|
||||
},
|
||||
importPreset() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue