Skip to content

Commit 5d97a0b

Browse files
committed
Add null check
1 parent daf1756 commit 5d97a0b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/SignToolGUI/Forms/MainForm.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,10 @@ private void RadioButtonSelectCertificateLocation_CheckedChanged(object sender,
513513
}
514514
else if (radioButtonTrustedSigning.Checked)
515515
{
516-
labelCertificateInformation.Text = @"Trusted Signing Certificate - set details in Trusted Signing account located in the Azure Portal";
516+
if (labelCertificateInformation != null)
517+
{
518+
labelCertificateInformation.Text = @"Trusted Signing Certificate - set details in Trusted Signing account located in the Azure Portal";
519+
}
517520
}
518521
else
519522
{

0 commit comments

Comments
 (0)