Equalizer: Load presets when first used by genre tracking if dialog hasn't been opened yet
parent
c56852437d
commit
4aa6ef0b14
|
@ -195,6 +195,8 @@ static void loadPresets()
|
|||
void equalizerApplyGenre(NSString *genre) {
|
||||
equalizerGenre = genre;
|
||||
if ([[[NSUserDefaultsController sharedUserDefaultsController] defaults] boolForKey:@"GraphicEQtrackgenre"]) {
|
||||
loadPresets();
|
||||
|
||||
NSDictionary * preset = [equalizer_presets_by_name objectForKey:genre];
|
||||
if (!preset) {
|
||||
// Find a match
|
||||
|
|
Loading…
Reference in New Issue