summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-29 08:55:47 +0100
committerDamiano Galassi <[email protected]>2015-10-29 08:55:47 +0100
commit5adef96a78cc94e75c79dfef5c053023751c2175 (patch)
treee07baa02da2112d62d5a34d777e31a7ad9310950 /macosx/HBSubtitlesController.m
parent9dfee71965d031d25d6c6f9cb59e136713af24ce (diff)
MacGui: use an pair of 'OK' and 'Cancel' buttons in the defaults sheets instead of a single done button. Fixed the bitrates and mixdowns popups in the audio defaults.
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;