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

Do not skip email addresses if there is no email attribute field

GnuPG-bug-id: 5843
parent 34f0de27
Pipeline #200169 passed with stage
in 5 minutes and 13 seconds
......@@ -636,7 +636,7 @@ void CertificateDetailsWidget::Private::setUpSMIMEAdressList()
const auto email = Kleo::Formatting::prettyEMail(uid);
if (name.isEmpty() && !email.isEmpty()) {
// skip email addresses already listed in email attribute field
if (emailField && email != emailField->value()) {
if (!emailField || email != emailField->value()) {
ui.smimeAddressList->addItem(email);
}
} else {
......
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