*/
- (void)customSettingUsed
{
- // Deselect the currently selected Preset if there is one
- [fPresetsView deselect];
-
// Update the preset and file name only if we are not
// undoing or redoing, because if so it's already stored
// in the undo manager.
if (!(undo.isUndoing || undo.isRedoing))
{
// Change UI to show "Custom" settings are being used
- self.job.presetName = NSLocalizedString(@"Custom", @"");
+ if (![self.job.presetName hasSuffix:NSLocalizedString(@"(Modified)", nil)])
+ {
+ self.job.presetName = [NSString stringWithFormat:@"%@ %@", self.job.presetName, NSLocalizedString(@"(Modified)", nil)];
+ }
self.edited = YES;
[self updateFileName];
}
[[self.undo prepareWithInvocationTarget:self] setMp4HttpOptimize:_mp4HttpOptimize];
}
_mp4HttpOptimize = mp4HttpOptimize;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setAlignAVStart:(BOOL)alignAVStart
[[self.undo prepareWithInvocationTarget:self] setAlignAVStart:_alignAVStart];
}
_alignAVStart = alignAVStart;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setMp4iPodCompatible:(BOOL)mp4iPodCompatible
[[self.undo prepareWithInvocationTarget:self] setMp4iPodCompatible:_mp4iPodCompatible];
}
_mp4iPodCompatible = mp4iPodCompatible;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setChaptersEnabled:(BOOL)chaptersEnabled