summaryrefslogtreecommitdiffstats
path: root/macosx/HBPictureController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPictureController.m')
-rw-r--r--macosx/HBPictureController.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBPictureController.m b/macosx/HBPictureController.m
index 8dee13187..b6fed1f28 100644
--- a/macosx/HBPictureController.m
+++ b/macosx/HBPictureController.m
@@ -72,6 +72,11 @@ static void *HBPictureControllerContext = &HBPictureControllerContext;
[self adjustSizingDisplay:nil];
}
+- (NSUndoManager *)windowWillReturnUndoManager:(NSWindow *)window
+{
+ return self.previewController.window.undoManager;
+}
+
#pragma mark - KVO
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context