aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/smtp/RecipientsPicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/smtp/RecipientsPicker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/smtp/RecipientsPicker.cpp b/src/ui/smtp/RecipientsPicker.cpp
index eaaa683a..47c9808b 100644
--- a/src/ui/smtp/RecipientsPicker.cpp
+++ b/src/ui/smtp/RecipientsPicker.cpp
@@ -38,7 +38,7 @@ GpgFrontend::UI::RecipientsPicker::RecipientsPicker(
_("Recipient(s)"), KeyListRow::SECRET_OR_PUBLIC_KEY,
KeyListColumn::NAME | KeyListColumn::EmailAddress,
[](const GpgKey& key) -> bool {
- return !key.is_private_key() && key.CanEncrActual();
+ return !key.IsPrivateKey() && key.IsHasActualEncryptionCapability();
});
key_list_->slotRefresh();