Commit 94e275a7 authored by David Fuhrmann's avatar David Fuhrmann

macosx: CAS: fix update of customization sheet for last saved profile

parent a54a295b
......@@ -339,7 +339,8 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
- (IBAction)switchProfile:(id)sender
{
NSUInteger index = [_profile_pop indexOfSelectedItem];
if (index < ([self.profileValueList count] - 1))
// last index is "custom"
if (index <= ([self.profileValueList count] - 1))
[self resetCustomizationSheetBasedOnProfile:[self.profileValueList objectAtIndex:index]];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment