diff options
author | saturneric <[email protected]> | 2024-06-02 20:03:59 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-06-02 20:03:59 +0000 |
commit | e7694f9a0729cb88064eda6623c99070f5a46dc0 (patch) | |
tree | 39c5339991212dc4eaf653ec3e016b8daa79fbb7 /src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp | |
parent | fix: cannot show version in about tab (diff) | |
download | GpgFrontend-e7694f9a0729cb88064eda6623c99070f5a46dc0.tar.gz GpgFrontend-e7694f9a0729cb88064eda6623c99070f5a46dc0.zip |
feat: rewrite key list structure and logic
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp b/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp index a56a7fc7..f8d3d44b 100644 --- a/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp @@ -43,9 +43,9 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, const auto key_id = m_key_.GetId(); m_key_list_ = new KeyList(KeyMenuAbility::NONE, this); m_key_list_->AddListGroupTab( - tr("Signers"), "signers", KeyListRow::ONLY_SECRET_KEY, - KeyListColumn::NAME | KeyListColumn::EmailAddress, - [key_id](const GpgKey& key, const KeyTable&) -> bool { + tr("Signers"), "signers", GpgKeyTableDisplayMode::kPrivateKey, + GpgKeyTableColumn::kName | GpgKeyTableColumn::kEmailAddress, + [key_id](const GpgKey& key) -> bool { return !(key.IsDisabled() || !key.IsHasCertificationCapability() || !key.IsHasMasterKey() || key.IsExpired() || key.IsRevoked() || key_id == key.GetId()); |