diff options
author | Saturneric <[email protected]> | 2021-05-26 16:54:30 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-05-26 16:54:30 +0000 |
commit | f134e08858a14ed4b0284802c968a48bcfbeb6ef (patch) | |
tree | 4670bcc2ef5191559e9adb0e12e95cb4c3cee77d /src/ui/keypair_details/KeyPairUIDTab.cpp | |
parent | Fix the error and adjust the way the pop-up window pops up after the key is g... (diff) | |
download | GpgFrontend-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.cpp | 5 |
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(); |