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

Use correct folder when asking for file to verify

GnuPG-bug-id: 6062
parent b427bfd5
Pipeline #200786 passed with stage
in 2 minutes and 18 seconds
......@@ -373,8 +373,8 @@ std::vector< std::shared_ptr<Task> > AutoDecryptVerifyFilesController::Private::
// Detached signature, try to find data or ask the user.
QString signedDataFileName = cFile.baseName;
if (!QFile::exists(signedDataFileName)) {
signedDataFileName = QFileDialog::getOpenFileName(nullptr, xi18n("Select the file to verify with \"%1\"", fi.fileName()),
fi.dir().dirName());
signedDataFileName = QFileDialog::getOpenFileName(nullptr, xi18n("Select the file to verify with the signature <filename>%1</filename>", fi.fileName()),
fi.dir().path());
}
if (signedDataFileName.isEmpty()) {
qCDebug(KLEOPATRA_LOG) << "No signed data selected. Verify aborted.";
......
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