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/HBAudioController.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/HBAudioController.m')
-rw-r--r-- | macosx/HBAudioController.m | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index 5baf50a06..f3d49767d 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -57,11 +57,8 @@ { HBAudioDefaults *defaults = (HBAudioDefaults *)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.audio.defaults.undo; self.audio.defaults = defaults; } self.defaultsController = nil; |