summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r--macosx/HBAudioController.m5
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;