From 851703a2e9e5251d552ea00dbe70ca548b5597e2 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Tue, 19 Mar 2013 13:12:15 +0000 Subject: MacGUI: Fix a crash that happens when the Preview window backingScaleFactor changes but the title is not set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5344 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBPreviewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macosx') diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index 5214cf0ea..aaf6ec36c 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -247,7 +247,8 @@ // Scale factor changed, update the preview window // to the new situation backingScaleFactor = newBackingScaleFactor; - [self pictureSliderChanged:self]; + if (fTitle) + [self pictureSliderChanged:self]; } } -- cgit v1.2.3