aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/VerifyNotification.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/VerifyNotification.cpp')
-rw-r--r--src/ui/VerifyNotification.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/VerifyNotification.cpp b/src/ui/VerifyNotification.cpp
index 3111a39f..b5b2c890 100644
--- a/src/ui/VerifyNotification.cpp
+++ b/src/ui/VerifyNotification.cpp
@@ -131,6 +131,9 @@ bool VerifyNotification::slotRefresh() {
textIsSigned = 3;
verifyStatus = VERIFY_ERROR_CRITICAL;
GpgKey key = mCtx->getKeyById(sign->fpr);
+
+ if(!key.good) break;
+
verifyLabelText.append(key.name);
if (!key.email.isEmpty()) {
verifyLabelText.append("<" + key.email + ">");