Commit 3c31690b authored by Laurent Montel's avatar Laurent Montel 😁

Remove extra check

parent 0fb7615c
......@@ -957,7 +957,7 @@ void AttachmentControllerBase::showAttachPublicKeyDialog()
false /* no remember choice box */,
d->wParent);
if (dialog->exec() == QDialog::Accepted && dialog) {
if (dialog->exec() == QDialog::Accepted) {
exportPublicKey(dialog->fingerprint());
}
delete dialog;
......
Markdown is supported
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