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

Enable encrypt/sign button if GnuPG is compliant

Fixes the bug that the button was always disabled if de-vs compliance
was used.

Fixes-commit: 2238fed4

GnuPG-bug-id: 5362, 5653
parent 4853bdf5
Pipeline #103875 passed with stage
in 1 minute and 53 seconds
......@@ -502,7 +502,7 @@ public:
: i18nc("%1 is a placeholder for the name of a compliance mode. E.g. NATO RESTRICTED compliant or VS-NfD compliant",
"%1 communication not possible.", Formatting::deVsString()));
mAdditionalInfoLabel->setVisible(true);
mCryptBtn->setEnabled(false);
mCryptBtn->setEnabled(Kleo::gnupgIsDeVsCompliant());
mMessageWidget->setVisible(!Kleo::gnupgIsDeVsCompliant());
}
}
......
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