diff options
author | dynaflash <[email protected]> | 2009-02-13 01:23:27 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-02-13 01:23:27 +0000 |
commit | 79ca983a70cef58f76cfaa86ea859c3d800a1f13 (patch) | |
tree | 40827131c39afb0a446c87f47d4f6572abe070c2 /macosx/HBPreviewController.mm | |
parent | 1eaad61b3dca9500b547f5dad29708e18e3da3dc (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/HBPreviewController.mm')
-rw-r--r-- | macosx/HBPreviewController.mm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/macosx/HBPreviewController.mm b/macosx/HBPreviewController.mm index 39106c9b9..ec7862b0c 100644 --- a/macosx/HBPreviewController.mm +++ b/macosx/HBPreviewController.mm @@ -108,6 +108,8 @@ return YES; - (void)windowWillClose:(NSNotification *)aNotification { + + /* Upon Closing the picture window, we make sure we clean up any * preview movie that might be playing */ @@ -118,10 +120,6 @@ return YES; [fPictureView setHidden:NO]; [fMovieView pause:nil]; [fMovieView setHidden:YES]; - if (isFullScreen) - { - [self goWindowedScreen:nil]; - } isFullScreen = NO; hudTimerSeconds = 0; @@ -130,7 +128,8 @@ return YES; - (BOOL)windowShouldClose:(id)fPictureWindow { - return YES; + + return YES; } - (void) dealloc |