Fix XIB button sometimes disabled with xcode compilation

This commit is contained in:
Guillaume BIENKOWSKI 2014-06-30 09:30:20 +02:00
parent c6f41b3d72
commit 1a7c27e609

View file

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