diff options
Diffstat (limited to 'macosx/HBPicture.m')
-rw-r--r-- | macosx/HBPicture.m | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m index d241ce6d8..b1fc690a6 100644 --- a/macosx/HBPicture.m +++ b/macosx/HBPicture.m @@ -8,6 +8,7 @@ #import "HBTitle.h" #import "HBCodingUtilities.h" +#import "HBMutablePreset.h" #include "hb.h" @@ -430,17 +431,22 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; retval = [NSSet setWithObjects:@"anamorphicMode", nil]; } - if ([key isEqualToString:@"maxWidth"] || + else if ([key isEqualToString:@"maxWidth"] || [key isEqualToString:@"maxHeight"]) { retval = [NSSet setWithObjects:@"cropTop", @"cropBottom", @"cropLeft", @"cropRight", nil]; } - if ([key isEqualToString:@"info"] || [key isEqualToString:@"summary"]) + else if ([key isEqualToString:@"info"] || [key isEqualToString:@"summary"]) { retval = [NSSet setWithObjects:@"parWidth", @"parHeight", @"displayWidth", @"width", @"height",@"anamorphicMode", @"cropTop", @"cropBottom", @"cropLeft", @"cropRight", nil]; } + else + { + retval = [NSSet set]; + } + return retval; } |