summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBController.m8
-rw-r--r--macosx/HBJob.m6
2 files changed, 10 insertions, 4 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 172a291b6..187bf7929 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1003,9 +1003,6 @@
*/
- (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.
@@ -1013,7 +1010,10 @@
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];
}
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 1e1d479a7..1644a7fcf 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -232,6 +232,8 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
[[self.undo prepareWithInvocationTarget:self] setMp4HttpOptimize:_mp4HttpOptimize];
}
_mp4HttpOptimize = mp4HttpOptimize;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setAlignAVStart:(BOOL)alignAVStart
@@ -241,6 +243,8 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
[[self.undo prepareWithInvocationTarget:self] setAlignAVStart:_alignAVStart];
}
_alignAVStart = alignAVStart;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setMp4iPodCompatible:(BOOL)mp4iPodCompatible
@@ -250,6 +254,8 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
[[self.undo prepareWithInvocationTarget:self] setMp4iPodCompatible:_mp4iPodCompatible];
}
_mp4iPodCompatible = mp4iPodCompatible;
+
+ [[NSNotificationCenter defaultCenter] postNotificationName:HBContainerChangedNotification object:self];
}
- (void)setChaptersEnabled:(BOOL)chaptersEnabled