diff options
Diffstat (limited to 'src/ui/smtp/RecipientsPicker.cpp')
-rw-r--r-- | src/ui/smtp/RecipientsPicker.cpp | 2 |
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(); |