fixed wrong denied/accepted label on own key in keyring

This commit is contained in:
csoler 2019-01-11 23:46:24 +01:00
parent fdf6a32236
commit f6999accf3
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -228,15 +228,11 @@ QVariant pgpid_item_model::data(const QModelIndex &index, int role) const
break;
case COLUMN_CHECK:
{
if (detail.accept_connection)
{
if (detail.accept_connection || rsPeers->getGPGOwnId() == detail.gpg_id)
return tr("Accepted");
}
else
{
return tr("Denied");
}
}
break;