Commit 8c74a572 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Fix hiding of "Protect key with passphrase" check box for X.509

Hide the check box when initializing the page instead of relying on
slotUpdateResultLabel() being triggered (which doesn't happen if
an X.509 CSR is generated for the first time).

GnuPG-bug-id: 5832
parent 4e979d5b
......@@ -817,6 +817,7 @@ public:
bool isComplete() const override;
void initializePage() override {
dialog.setProtocol(pgp() ? OpenPGP : CMS);
void cleanupPage() override {
......@@ -838,7 +839,6 @@ private Q_SLOTS:
void slotUpdateResultLabel()
ui.resultLE->setText(pgp() ? pgpUserID() : cmsDN());
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