From 1a7c27e609a013cf9752fb08bc06623a20e1d9f6 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Mon, 30 Jun 2014 09:30:20 +0200 Subject: [PATCH] Fix XIB button sometimes disabled with xcode compilation --- Classes/DialerViewController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Classes/DialerViewController.m b/Classes/DialerViewController.m index 4ccaacacd..7a0a37efe 100644 --- a/Classes/DialerViewController.m +++ b/Classes/DialerViewController.m @@ -135,6 +135,13 @@ static UICompositeViewDescription *compositeDescription = nil; selector:@selector(coreUpdateEvent:) name:kLinphoneCoreUpdate object:nil]; + + // technically not needed, but older versions of linphone had this button + // disabled by default. In this case, updating by pushing a new version with + // xcode would result in the callbutton being disabled all the time. + // We force it enabled anyway now. + [callButton setEnabled:TRUE]; + // Update on show if([LinphoneManager isLcReady]) { LinphoneManager *mgr=[LinphoneManager instance];