Fix a bug in the wizard which was leading to create 2 proxy configs. We had a double touch event...

This commit is contained in:
Guillaume BIENKOWSKI 2014-12-17 15:37:35 +01:00
parent 4721663f07
commit 403e48ee00

View file

@ -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;
}
}