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

Do not show success message if operation was canceled

GnuPG-bug-id: 5859
parent feb5db2d
Pipeline #159454 passed with stage
in 2 minutes and 34 seconds
......@@ -214,8 +214,10 @@ void RevokeKeyCommand::Private::onJobResult(const Error &err)
return;
}
information(i18nc("@info", "The key was revoked successfully."),
i18nc("@title:window", "Key Revoked"));
if (!err.isCanceled()) {
information(i18nc("@info", "The key was revoked successfully."),
i18nc("@title:window", "Key Revoked"));
}
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