summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-11-12 12:41:42 +0100
committerDamiano Galassi <[email protected]>2017-11-12 12:41:42 +0100
commit2ce11e0c322fe78c0d7c62ac4b7a00178fd6ae46 (patch)
treec06a9794e8803fb77f3084893fdd07b06368e46f /macosx/HBController.m
parent2c750474608acba5da55f76b518f45f83d9757cb (diff)
MacGui: show a preview image in the summary tab.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 5c255789b..2cd279343 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -813,7 +813,9 @@
if (job)
{
- fPreviewController.generator = [[HBPreviewGenerator alloc] initWithCore:self.core job:job];
+ HBPreviewGenerator *generator = [[HBPreviewGenerator alloc] initWithCore:self.core job:job];
+ fPreviewController.generator = generator;
+ self.summaryController.generator = generator;
HBTitle *title = job.title;
@@ -830,6 +832,7 @@
else
{
fPreviewController.generator = nil;
+ self.summaryController.generator = nil;
}
fPreviewController.picture = job.picture;