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

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

It is annoying to load the last selected video profile when the video effects
window opens if the apply last profile checkbox was not checked.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 488f9ea4
......@@ -62,10 +62,13 @@
self.textfieldPanel = [[VLCTextfieldPanelController alloc] init];
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"VideoEffectApplyProfileOnStartup"]) {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if ([defaults boolForKey:@"VideoEffectApplyProfileOnStartup"]) {
[self resetValues];
[self loadProfile];
[defaults setInteger:0 forKey:@"VideoEffectSelectedProfile"];
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