From 403e48ee008acef8866dd3da45e46c38956c8446 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 17 Dec 2014 15:37:35 +0100 Subject: [PATCH] Fix a bug in the wizard which was leading to create 2 proxy configs. We had a double touch event... --- Classes/WizardViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/WizardViewController.m b/Classes/WizardViewController.m index 62e22c56e..a5df9f34c 100644 --- a/Classes/WizardViewController.m +++ b/Classes/WizardViewController.m @@ -1067,9 +1067,9 @@ static UICompositeViewDescription *compositeDescription = nil; #pragma mark - UIGestureRecognizerDelegate Functions - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch { - if ([touch.view isKindOfClass:[UIButton class]]) { //Avoid tap gesture on Button + if ([touch.view isKindOfClass:[UIButton class]]) { + /* we resign any keyboard that's displayed when a button is touched */ if([LinphoneUtils findAndResignFirstResponder:currentView]) { - [(UIButton*)touch.view sendActionsForControlEvents:UIControlEventTouchUpInside]; return NO; } }