aboutsummaryrefslogtreecommitdiffstats
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp
index 736eba5..46dcbc6 100644
--- a/context.cpp
+++ b/context.cpp
@@ -320,6 +320,7 @@ bool Context::decrypt(const QByteArray &inBuffer, QByteArray *outBuffer)
}
if (err != GPG_ERR_NO_ERROR && err != GPG_ERR_CANCELED) {
QMessageBox::critical(0, tr("Error decrypting:"), gpgme_strerror(err));
+ return false;
}
//if (err != GPG_ERR_NO_ERROR)