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

Identify updated group of keys by source and source dependent identifier

GnuPG-bug-id: 5175, 5239
parent d6c3cc02
...@@ -112,7 +112,7 @@ CertificateLineEdit::CertificateLineEdit(AbstractKeyListModel *model, ...@@ -112,7 +112,7 @@ CertificateLineEdit::CertificateLineEdit(AbstractKeyListModel *model,
this, &CertificateLineEdit::updateKey); this, &CertificateLineEdit::updateKey);
connect(KeyCache::instance().get(), &Kleo::KeyCache::groupUpdated, connect(KeyCache::instance().get(), &Kleo::KeyCache::groupUpdated,
this, [this] (const KeyGroup &group) { this, [this] (const KeyGroup &group) {
if (group.id() == mGroup.id()) { if (!mGroup.isNull() && mGroup.source() == group.source() && mGroup.id() == group.id()) {
QSignalBlocker blocky(this); QSignalBlocker blocky(this);
mGroup = group; mGroup = group;
setText(Formatting::summaryLine(mGroup)); setText(Formatting::summaryLine(mGroup));
......
Markdown is supported
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