From a735c9046533954e1bba5cf8996d98e15b2e86cc Mon Sep 17 00:00:00 2001 From: ritsuka Date: Mon, 4 Feb 2013 19:22:24 +0000 Subject: MacGUI: add a missing else statement. Don't pass key event down the response chain after we handled it it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5237 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBPreviewController.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'macosx') diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index ba664059b..093c1058c 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -1257,10 +1257,11 @@ [fPictureSlider setIntegerValue:fPicture < [fPictureSlider maxValue] ? fPicture + 1 : fPicture]; [self pictureSliderChanged:self]; } - [super keyDown:event]; + else + [super keyDown:event]; } - - [super keyDown:event]; + else + [super keyDown:event]; } #pragma mark *** QTTime Utilities *** -- cgit v1.2.3