From be69cccea41c17214631529cd265476d31dc3406 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Mon, 23 Aug 2021 16:20:19 +0800 Subject: Improve the automatic key exchange function; fix some known problems; --- src/ui/keypair_details/KeyUIDSignDialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/keypair_details/KeyUIDSignDialog.cpp') diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp index f112ea25..9232cfce 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp @@ -89,13 +89,12 @@ void KeyUIDSignDialog::slotSignKey(bool clicked) { // Set Signers QVector keys; mKeyList->getCheckedKeys(keys); - mCtx->setSigners(keys); const auto expires = expiresEdit->dateTime(); for(const auto &uid : mUids) { // Sign For mKey - if (!mCtx->signKey(mKey, uid.uid, &expires)) { + if (!mCtx->signKey(mKey, keys, uid.uid, &expires)) { QMessageBox::critical(nullptr, tr("Unsuccessful Operation"), QString(tr("Signature operation failed for UID ") + "%1") -- cgit v1.2.3