Unverified Commit 2dd2f982 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Add setting to hide advanced options for new keys

With the customiziation of the new certificate wizard
there is also the optional need to remove the advanced options
for users that should not fiddle with Algorithms.

GnuPG-Bug-Id: T5690
parent 8458194b
Pipeline #106853 passed with stage
in 1 minute and 50 seconds
......@@ -44,6 +44,11 @@
<whatsthis>This setting specifies how many days a new OpenPGP key is valid by default, or, in other words, after how many days the key will expire. Set this to 0 for unlimited validity. If this setting is not set or if it is set to a negative value, then new OpenPGP keys will be valid for two years by default.</whatsthis>
<entry key="HideAdvanced" type="Bool">
<label>Hide advanced settigns</label>
<whatsthis>If true, hides the advanced settings button in the new certificate wizard.</whatsthis>
<group name="CMS">
<entry key="Enabled" name="cmsEnabled" type="Bool">
......@@ -1527,6 +1527,7 @@ void EnterDetailsPage::updateForm()
if (ui.emailLE->text().isEmpty() && settings.prefillEmail()) {
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