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

Hide S/MIME Validation settings if CMS is disabled

GnuPG-bug-id: 5688
parent 93ce057d
......@@ -52,7 +52,7 @@ ConfigureDialog::ConfigureDialog(QWidget *parent)
QStringLiteral("document-encrypt"),
new Kleo::Config::CryptoOperationsConfigurationPage(this));
}
if (settings.showSMimeValidationConfiguration()) {
if (settings.showSMimeValidationConfiguration() && settings.cmsEnabled()) {
addModule(i18n("S/MIME Validation"),
QStringLiteral("kleopatra/configuration.html#configuration-smime-validation"),
QStringLiteral("preferences-system-network"),
......
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