Allow certification trust level to be editable for any key.
Imported primary keys also have unknown trust level, when they have been generated in other keyrings. Later, we should decide whether to exclude any primary key with ultimate trust level from any further change.
This commit is contained in:
@@ -30,10 +30,10 @@ KeyEdit::~KeyEdit()
|
||||
|
||||
void KeyEdit::OnOwnerTrustDoubleClicked(WTreeTableNode * keyNode)
|
||||
{
|
||||
// We ought to trust our own keys
|
||||
const WText * lblFpr = static_cast<WText*> (keyNode->columnWidget(3));
|
||||
if (IsOurKey(lblFpr->text()))
|
||||
return;
|
||||
/*
|
||||
* TODO : decide if we should exclude any primary key with ultimate trust
|
||||
* level for any further change.
|
||||
*/
|
||||
WComboBox * cmbOwnerTrust = new WComboBox();
|
||||
FillOwnerTrustCombo(cmbOwnerTrust);
|
||||
cmbOwnerTrust->blurred().connect(std::bind(&KeyEdit::OnOwnerTrustBlurred, this, keyNode));
|
||||
|
||||
Reference in New Issue
Block a user