Fix protocol check for SSH export opt

The intention was to check for pgp and not for any
parent cca5d3e8
Pipeline #27476 passed with stage
in 24 minutes and 24 seconds
......@@ -80,7 +80,7 @@ void SubKeysWidget::Private::tableContextMenuRequested(const QPoint &p)
bool hasActions = false;
if (subkey.parent().protocol() && subkey.canAuthenticate()) {
if (subkey.parent().protocol() == GpgME::OpenPGP && subkey.canAuthenticate()) {
hasActions = true;
i18n("Export OpenSSH key"),
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