Fix equalizer bug upon Koel starting if a preset was used in the previous session. (#538)

Now the application starts (before, it triggered an exception)
This commit is contained in:
X-Ryl669 2017-02-09 13:06:00 +01:00 committed by Phan An
parent 64f4b5d8b3
commit 2bd4b79a04

View file

@ -125,9 +125,6 @@ export default {
prevFilter.connect(context.destination)
this.$nextTick(this.createSliders)
// Now we set this value to trigger the audio processing.
this.selectedPresetIndex = preferences.selectedPreset
},
/**
@ -166,6 +163,9 @@ export default {
this.save()
})
})
// Now we set this value to trigger the audio processing.
this.selectedPresetIndex = preferences.selectedPreset
},
/**