Added error checking to EQ import
This commit is contained in:
parent
38d1757d69
commit
1a217e6358
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@
|
||||||
newPreset.vibrantBass = result.vibrantBass
|
newPreset.vibrantBass = result.vibrantBass
|
||||||
app.cfg.audio.equalizer.presets.push(newPreset)
|
app.cfg.audio.equalizer.presets.push(newPreset)
|
||||||
notyf.success("Imported preset " + result.name)
|
notyf.success("Imported preset " + result.name)
|
||||||
|
}).catch(err => {
|
||||||
|
console.error("[EQ Import] " + err)
|
||||||
|
notyf.error("Could not import preset")
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
applyPreset(preset) {
|
applyPreset(preset) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue