Commit d09dad58 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Disable Show Issuer Certificate button for root certificates

The button didn't have any effect for root certificates until the last but
one commit. Now activating it would show a bogus error message.

GnuPG-bug-id: 5843
parent b4266fd6
Pipeline #201157 failed with stage
in 2 minutes and 49 seconds
......@@ -1088,6 +1088,7 @@ void CertificateDetailsWidget::Private::setupSMIMEProperties()
const QString issuer = issuerCN.isEmpty() ? QString::fromUtf8(key.issuerName()) : issuerCN;
ui.smimeIssuerField->setValue(issuer);
ui.smimeIssuerField->setToolTip(formatDNToolTip(issuerDN));
ui.showIssuerCertificateAction->setEnabled(!key.isRoot());
setUpSMIMEAdressList();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment