aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyPairUIDTab.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-26 16:54:30 +0000
committerSaturneric <[email protected]>2021-05-26 16:54:30 +0000
commitf134e08858a14ed4b0284802c968a48bcfbeb6ef (patch)
tree4670bcc2ef5191559e9adb0e12e95cb4c3cee77d /src/ui/keypair_details/KeyPairUIDTab.cpp
parentFix the error and adjust the way the pop-up window pops up after the key is g... (diff)
downloadGpgFrontend-f134e08858a14ed4b0284802c968a48bcfbeb6ef.tar.gz
GpgFrontend-f134e08858a14ed4b0284802c968a48bcfbeb6ef.zip
Improve the key information update mechanism
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to 'src/ui/keypair_details/KeyPairUIDTab.cpp')
-rw-r--r--src/ui/keypair_details/KeyPairUIDTab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/keypair_details/KeyPairUIDTab.cpp b/src/ui/keypair_details/KeyPairUIDTab.cpp
index e10912fc..9e045daf 100644
--- a/src/ui/keypair_details/KeyPairUIDTab.cpp
+++ b/src/ui/keypair_details/KeyPairUIDTab.cpp
@@ -40,8 +40,11 @@ KeyPairUIDTab::KeyPairUIDTab(GpgME::GpgContext *ctx, const GpgKey &key, QWidget
connect(mCtx, SIGNAL(signalKeyDBChanged()), this, SLOT(slotRefreshUIDList()));
connect(mCtx, SIGNAL(signalKeyDBChanged()), this, SLOT(slotRefreshSigList()));
+
+ connect(mCtx, SIGNAL(signalKeyUpdated(QString)), this, SLOT(slotRefreshUIDList()));
+ connect(mCtx, SIGNAL(signalKeyUpdated(QString)), this, SLOT(slotRefreshSigList()));
+
connect(uidList, SIGNAL(itemSelectionChanged()), this, SLOT(slotRefreshSigList()));
-// connect(addSigButton, SIGNAL(clicked(bool)), this, SLOT(slotAddSign()));
slotRefreshUIDList();
slotRefreshSigList();