summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBSubtitlesController.m')
-rw-r--r--macosx/HBSubtitlesController.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/HBSubtitlesController.m b/macosx/HBSubtitlesController.m
index 99c0ac998..3cd47e215 100644
--- a/macosx/HBSubtitlesController.m
+++ b/macosx/HBSubtitlesController.m
@@ -73,11 +73,8 @@
{
HBSubtitlesDefaults *defaults = (HBSubtitlesDefaults *)CFBridgingRelease(contextInfo);
- // If things changed, do this ugly
- // operation to group the changes for the undo manager.
- if (returnCode)
+ if (returnCode == NSModalResponseOK)
{
- defaults.undo = self.subtitles.defaults.undo;
self.subtitles.defaults = defaults;
}
self.defaultsController = nil;