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

Hide DN-Attribute Order configuration if CMS is disabled

GnuPG-bug-id: 5688
parent abb355c8
......@@ -302,8 +302,7 @@ public:
l->setContentsMargins(0, 0, 0, 0);
}
const auto settings = Kleo::Settings{};
if (settings.cmsEnabled()) {
if (Kleo::Settings{}.cmsEnabled()) {
auto w = new QWidget;
dnOrderWidget = Kleo::DNAttributeMapper::instance()->configWidget(w);
dnOrderWidget->setObjectName(QStringLiteral("dnOrderWidget"));
......
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