diff options
author | Damiano Galassi <[email protected]> | 2015-10-10 08:24:54 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-10 08:24:54 +0200 |
commit | 929078141478887592ca39d23503b684d21a4784 (patch) | |
tree | 00e5bbba90ee37ffe3c0323d00a740aad841a863 | |
parent | 52206517b2aefe811dae08849442a930d58f43aa (diff) |
MacGui: fix the picture panel not updating correctly
-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); } } |