summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-02-13 01:23:27 +0000
committerdynaflash <[email protected]>2009-02-13 01:23:27 +0000
commit79ca983a70cef58f76cfaa86ea859c3d800a1f13 (patch)
tree40827131c39afb0a446c87f47d4f6572abe070c2 /macosx/PictureController.mm
parent1eaad61b3dca9500b547f5dad29708e18e3da3dc (diff)
MacGui: Fix crash when trying to quit with preview in full screen mode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2155 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm10
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index fa76a996a..30409d9e0 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -56,6 +56,16 @@
}
}
+- (BOOL) previewFullScreenMode
+{
+ return [fPreviewController fullScreen];
+}
+
+- (IBAction) previewGoWindowed: (id)sender
+{
+ [fPreviewController goWindowedScreen:self];
+}
+
- (IBAction) showPreviewWindow: (id)sender
{
[fPreviewController showWindow:sender];