summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-05-16 12:17:18 +0200
committerDamiano Galassi <[email protected]>2020-05-16 12:17:18 +0200
commit20cb33eb66fb4160d57444996877c4d9783e34ed (patch)
tree381fe5820b725d26edde787de6ec0e8932f5be96
parent434b24bcf92d35925c936cf8ea34f100f22e99cf (diff)
MacGui: call [super layout] in the preview view layout. It's required and not calling it breaks the layout on 10.11.
-rw-r--r--macosx/HBPreviewView.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBPreviewView.m b/macosx/HBPreviewView.m
index 4e7d81ae1..21e27854b 100644
--- a/macosx/HBPreviewView.m
+++ b/macosx/HBPreviewView.m
@@ -190,6 +190,7 @@
- (void)layout
{
+ [super layout];
// Set the picture size display fields below the Preview Picture
NSSize imageSize = NSMakeSize(CGImageGetWidth(self.image), CGImageGetHeight(self.image));