aboutsummaryrefslogtreecommitdiffstats
path: root/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp
index 481ac62..47188fb 100644
--- a/context.cpp
+++ b/context.cpp
@@ -151,6 +151,8 @@ GpgKeyList Context::listKeys()
while (it != keys.end()) {
if (key->subkeys->keyid == it->id.toStdString())
it->privkey = 1;
+ else
+ it->privkey = 0;
it++;
}