diff options
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; |