diff options
-rw-r--r-- | macosx/HBPreviewController.m | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index df6dff6a2..d9c7b055d 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -141,6 +141,12 @@ typedef enum ViewMode : NSUInteger { [_generator cancel]; } +- (void)setPicture:(HBPicture *)picture +{ + _picture = picture; + self.pictureSettingsWindow.picture = _picture; +} + - (void)setGenerator:(HBPreviewGenerator *)generator { if (_generator) @@ -169,7 +175,7 @@ typedef enum ViewMode : NSUInteger { } else { - [self.previewView setImage:nil]; + self.previewView.image = nil; self.window.title = NSLocalizedString(@"Preview", nil); } } |