Fix Sign/Encrypt of a single folder

This was a recent regression from the change to make archiving
optional. No need for backports.
parent 9e8518ab
......@@ -532,7 +532,8 @@ void SignEncryptFilesController::Private::slotWizardOperationPrepared()
kleo_assert(wizard);
kleo_assert(!files.empty());
const bool archive = wizard->outputNames().value(SignEncryptFilesWizard::Directory).isNull() && files.size() > 1;
const bool archive = (wizard->outputNames().value(SignEncryptFilesWizard::Directory).isNull() && files.size() > 1) ||
((operation & ArchiveMask) == ArchiveForced);
const QVector<Key> recipients = wizard->resolvedRecipients();
const QVector<Key> signers = wizard->resolvedSigners();
......
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