Commit 54f91ea1 authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Jean-Baptiste Kempf

macosx: always load default audio profile if apply profile is false

It is annoying to load the last selected video profile when the audio effects
window opens if the apply last profile checkbox was not checked.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 116e785c
......@@ -95,7 +95,8 @@
self.popupPanel = [[VLCPopupPanelController alloc] init];
self.textfieldPanel = [[VLCTextfieldPanelController alloc] init];
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"AudioEffectApplyProfileOnStartup"])
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([defaults boolForKey:@"AudioEffectApplyProfileOnStartup"])
[self equalizerUpdated];
[self resetCompressor];
......@@ -103,6 +104,8 @@
[self resetAudioFilters];
[self loadProfile];
[defaults setInteger:0 forKey:@"AudioEffectSelectedProfile"];
return self;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment