Fix bug arround sensitivity of "media encryption mandatory" checkbox

This commit is contained in:
François Grisez 2016-08-04 16:04:34 +02:00
parent 2864c88b40
commit 9ca70edeb4

View file

@ -1294,7 +1294,7 @@ static void linphone_gtk_media_encryption_changed(GtkWidget *combo){
gtk_widget_set_sensitive(mandatory_box,TRUE);
}else if (strcasecmp(selected,"DTLS")==0){
linphone_core_set_media_encryption(lc,LinphoneMediaEncryptionDTLS);
gtk_widget_set_sensitive(mandatory_box,FALSE);
gtk_widget_set_sensitive(mandatory_box,TRUE);
}else if (strcasecmp(selected,"ZRTP")==0){
linphone_core_set_media_encryption(lc,LinphoneMediaEncryptionZRTP);
gtk_widget_set_sensitive(mandatory_box,FALSE);