From 4aa6ef0b14593756f3b0057d20592ac32f4deadf Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 17 Jan 2022 21:16:39 -0800 Subject: [PATCH] Equalizer: Load presets when first used by genre tracking if dialog hasn't been opened yet --- Window/AUPlayerView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Window/AUPlayerView.m b/Window/AUPlayerView.m index 68f0448ff..3139a2f84 100644 --- a/Window/AUPlayerView.m +++ b/Window/AUPlayerView.m @@ -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