diff options
author | Damiano Galassi <[email protected]> | 2015-10-29 08:55:47 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-29 08:55:47 +0100 |
commit | 5adef96a78cc94e75c79dfef5c053023751c2175 (patch) | |
tree | e07baa02da2112d62d5a34d777e31a7ad9310950 /macosx/HBSubtitlesController.m | |
parent | 9dfee71965d031d25d6c6f9cb59e136713af24ce (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.m | 5 |
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; |