summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-03-19 13:12:15 +0000
committerritsuka <[email protected]>2013-03-19 13:12:15 +0000
commit851703a2e9e5251d552ea00dbe70ca548b5597e2 (patch)
treee51624e1b8746fa36aba7a9f47c0f548af54d960 /macosx
parent4d100436b3c298d3718f29d0d294e3089faa7a73 (diff)
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
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPreviewController.m3
1 files changed, 2 insertions, 1 deletions
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];
}
}