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

Fix check if signed file corresponding to detached signature exists

This regression was introduced with the fix for detached S/MIME signature
verification many years ago.

GnuPG-bug-id: 6062
parent 5a2213de
......@@ -372,7 +372,7 @@ std::vector< std::shared_ptr<Task> > AutoDecryptVerifyFilesController::Private::
if (isDetachedSignature(cFile.classification)) {
// Detached signature, try to find data or ask the user.
QString signedDataFileName = cFile.baseName;
if (signedDataFileName.isEmpty()) {
if (!QFile::exists(signedDataFileName)) {
signedDataFileName = QFileDialog::getOpenFileName(nullptr, xi18n("Select the file to verify with \"%1\"", fi.fileName()),
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