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

Fix starting over to create second CSR for different usage

Use the helper to ensure that the protocol is kept on restart.

GnuPG-bug-id: 5832
parent 41f1f4c6
......@@ -1223,11 +1223,7 @@ private:
const bool encr = encryptionAllowed();
setField(QStringLiteral("signingAllowed"), !sign);
setField(QStringLiteral("encryptionAllowed"), !encr);
// restart and skip to enter details Page:
wizard()->restart();
for (int i = wizard()->currentId(); i < NewCertificateWizard::EnterDetailsPageId; ++i) {
wizard()->next();
}
restartAtEnterDetailsPage();
}
private:
......
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