Skip to content

Commit

Permalink
Fix a bug with certificate selection in settings when validation for …
Browse files Browse the repository at this point in the history
…None would be broken
  • Loading branch information
marcinotorowski committed Jan 7, 2021
1 parent 3c33658 commit 98cc77d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@ private void StoreOnValueChanged(object sender, ValueChangedEventArgs e)
{
switch ((CertificateSource) e.NewValue)
{
case CertificateSource.Unknown:
this.PfxPath.IsValidated = false;
this.SelectedPersonalCertificate.IsValidated = false;
this.DeviceGuard.IsValidated = false;
break;
case CertificateSource.Personal:
this.PfxPath.IsValidated = false;
this.SelectedPersonalCertificate.IsValidated = true;
Expand Down

0 comments on commit 98cc77d

Please sign in to comment.