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

Do not export anything if the user canceled the operation

GnuPG-bug-id: 6090
parent efed6dd3
Pipeline #206737 passed with stage
in 3 minutes and 51 seconds
......@@ -241,6 +241,11 @@ std::unique_ptr<QGpgME::ExportJob> ExportSecretKeyCommand::Private::startExportJ
void ExportSecretKeyCommand::Private::onExportJobResult(const Error &err, const QByteArray &keyData)
{
if (err.isCanceled()) {
finished();
return;
}
if (err) {
showError(err);
finished();
......
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