summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-08-05 16:45:00 +0000
committerdynaflash <[email protected]>2010-08-05 16:45:00 +0000
commitcf982f896f80ed72e3c046dee0af49d1a1f4c9e6 (patch)
tree2fe600a3a615cb07ddd34cfb86b6fe8ab2ecc050 /macosx/PictureController.m
parent254404475b82b21a5d49ee8c65f0df9e9937c0be (diff)
MacGui: Disable preview hud controls during new source scans.
- Fixes a crash where trying to get a preview image when a new source is being loaded will cause a crash - Mirrors enableUI in the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3471 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.m')
-rw-r--r--macosx/PictureController.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/PictureController.m b/macosx/PictureController.m
index 4cc39331f..78174102e 100644
--- a/macosx/PictureController.m
+++ b/macosx/PictureController.m
@@ -395,7 +395,15 @@
[fPreviewController showWindow:sender];
}
+- (void) enablePreviewHudControls
+{
+ [fPreviewController enableHudControls];
+}
+- (void) disablePreviewHudControls
+{
+ [fPreviewController disableHudControls];
+}
- (void) setToWindowedMode
{